Sanitise field
This commit is contained in:
parent
0da029c896
commit
3f37416016
|
@ -162,8 +162,8 @@
|
||||||
filter.value = []
|
filter.value = []
|
||||||
} else if (
|
} else if (
|
||||||
previousType !== filter.type &&
|
previousType !== filter.type &&
|
||||||
previousType === FieldType.BB_REFERENCE &&
|
(previousType === FieldType.BB_REFERENCE ||
|
||||||
filter.type === FieldType.BB_REFERENCE
|
filter.type === FieldType.BB_REFERENCE)
|
||||||
) {
|
) {
|
||||||
filter.value = filter.type === "array" ? [] : null
|
filter.value = filter.type === "array" ? [] : null
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue