mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-01 02:56:10 +00:00
fix: add null checks (#14722)
This commit is contained in:
parent
64a4e1afce
commit
5f293f6400
@ -29,7 +29,7 @@ const AsyncSelectWidget = ({ onChange, schema, ...props }: WidgetProps) => {
|
||||
|
||||
return (
|
||||
<DataAssetAsyncSelectList
|
||||
defaultValue={props.value.fullyQualifiedName ?? ''}
|
||||
defaultValue={props?.value?.fullyQualifiedName ?? ''}
|
||||
placeholder={schema.placeholder ?? ''}
|
||||
searchIndex={schema?.autoCompleteType ?? SearchIndex.TABLE}
|
||||
onChange={handleChange}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user