mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-13 09:23:45 +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 (
|
return (
|
||||||
<DataAssetAsyncSelectList
|
<DataAssetAsyncSelectList
|
||||||
defaultValue={props.value.fullyQualifiedName ?? ''}
|
defaultValue={props?.value?.fullyQualifiedName ?? ''}
|
||||||
placeholder={schema.placeholder ?? ''}
|
placeholder={schema.placeholder ?? ''}
|
||||||
searchIndex={schema?.autoCompleteType ?? SearchIndex.TABLE}
|
searchIndex={schema?.autoCompleteType ?? SearchIndex.TABLE}
|
||||||
onChange={handleChange}
|
onChange={handleChange}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user