Use the readable schema when generating search field options
This commit is contained in:
parent
c717273996
commit
57d1d9c2d5
|
@ -15,9 +15,7 @@
|
||||||
|
|
||||||
const dispatch = createEventDispatcher()
|
const dispatch = createEventDispatcher()
|
||||||
$: datasource = getDatasourceForProvider($currentAsset, componentInstance)
|
$: datasource = getDatasourceForProvider($currentAsset, componentInstance)
|
||||||
$: schema = getSchemaForDatasource($currentAsset, datasource, {
|
$: schema = getSchemaForDatasource($currentAsset, datasource).schema
|
||||||
searchableSchema: true,
|
|
||||||
}).schema
|
|
||||||
$: options = getOptions(datasource, schema || {})
|
$: options = getOptions(datasource, schema || {})
|
||||||
$: boundValue = getSelectedOption(value, options)
|
$: boundValue = getSelectedOption(value, options)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue