Update option picker logic to only hide nullish rather than falsey values when using a dynamic options source
This commit is contained in:
parent
93eb042c4e
commit
b738fcf030
|
@ -17,7 +17,7 @@ export const getOptions = (
|
||||||
|
|
||||||
dataProvider?.rows?.forEach(row => {
|
dataProvider?.rows?.forEach(row => {
|
||||||
const value = row?.[valueColumn]
|
const value = row?.[valueColumn]
|
||||||
if (value) {
|
if (value != null) {
|
||||||
const label = row[labelColumn] || value
|
const label = row[labelColumn] || value
|
||||||
optionsSet[value] = { value, label }
|
optionsSet[value] = { value, label }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue