i want to update multiply in one action
for example, i expected updated 2 times when double click 1 time.
{
"name": "CallerQuery", "value": "",
"on": [
{
"events": "@callerFilterButton:click!",
"update": "datum.caller.key"
},
{
"events": "dblclick",
"update": "'1'"
},
{
"events": "dblclick",
"update": "'2'"
}
],
"bind": {
"input": "text",
"placeholder": "search caller",
"autocomplete": "off"
}
}
there is 3 events.
first is 'click' about @callerFilterButton label
second is 'dblclick' and value will be changed to '1'.
third is 'dblclick' and value will be changed from 1 to 2.
what i expected that CallerQuery's value must to change to 2 after changed 1.
but actually, second event is ignored.
when i double clicked, value had changed to 2 directly.
can i update value twice in one event?
it must to be changed 1 first, and then changed 2 second.
and i tried following setting too, but this is invalid conf.
{
"name": "CallerQuery", "value": "",
"on": [
{
"events": "@callerFilterButton:click!",
"update": "datum.caller.key"
},
{
"events": "dblclick",
// this is invalid
"update": ["'1'", "'2'"]
}
],
"bind": {
"input": "text",
"placeholder": "search caller",
"autocomplete": "off"
}
}