Add Is in filter for options type
This commit is contained in:
parent
27fafe546c
commit
2aa7f2b2ff
|
@ -30,7 +30,7 @@ export const getValidOperatorsForType = type => {
|
||||||
} else if (type === "number") {
|
} else if (type === "number") {
|
||||||
return numOps
|
return numOps
|
||||||
} else if (type === "options") {
|
} else if (type === "options") {
|
||||||
return [Op.Equals, Op.NotEquals, Op.Empty, Op.NotEmpty]
|
return [Op.Equals, Op.NotEquals, Op.Empty, Op.NotEmpty, Op.In]
|
||||||
} else if (type === "array") {
|
} else if (type === "array") {
|
||||||
return [Op.Contains, Op.NotContains, Op.Empty, Op.NotEmpty, Op.ContainsAny]
|
return [Op.Contains, Op.NotContains, Op.Empty, Op.NotEmpty, Op.ContainsAny]
|
||||||
} else if (type === "boolean") {
|
} else if (type === "boolean") {
|
||||||
|
|
Loading…
Reference in New Issue