Handle 'Is in' onOperatorChange
This commit is contained in:
parent
5b46494cf6
commit
84b86b2450
|
@ -87,6 +87,16 @@
|
||||||
if (expression.noValue) {
|
if (expression.noValue) {
|
||||||
expression.value = null
|
expression.value = null
|
||||||
}
|
}
|
||||||
|
if (
|
||||||
|
operator === Constants.OperatorOptions.In.value &&
|
||||||
|
!Array.isArray(expression.value)
|
||||||
|
) {
|
||||||
|
if (expression.value) {
|
||||||
|
expression.value = [expression.value]
|
||||||
|
} else {
|
||||||
|
expression.value = []
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const getFieldOptions = field => {
|
const getFieldOptions = field => {
|
||||||
|
|
Loading…
Reference in New Issue