bugfixing
This commit is contained in:
parent
2026bb5ed0
commit
4b07031660
@ -430,10 +430,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function handleValueInput(event, ruleName, index = null) {
|
async function handleValueInput(event, ruleName, index = null) {
|
||||||
|
console.log(ruleName);
|
||||||
const newValue = event.target.value;
|
const newValue = event.target.value;
|
||||||
|
|
||||||
if (ruleCondition[ruleName] === "between") {
|
if (ruleCondition[ruleName] === "between") {
|
||||||
const currentValues = valueMappings[ruleName] || ["", ""];
|
const currentValues = [...(valueMappings[ruleName] || ["", ""])];
|
||||||
currentValues[index] = newValue;
|
currentValues[index] = newValue;
|
||||||
await handleChangeValue(currentValues, { shouldSort: false });
|
await handleChangeValue(currentValues, { shouldSort: false });
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user