Use keyup for input handling

This commit is contained in:
Dennis Eichhorn 2017-04-15 20:15:44 +02:00
parent 7615331f2b
commit 1a7de2dcc5

View File

@ -36,9 +36,9 @@ echo $this->getData('nav')->render(); ?>
{"type": "dom.table.append", "id": "acc-grp-table", "aniIn": "fadeIn", "data": [], "bindings": {"id": "id", "name": "name/0"}, "position": -1} {"type": "dom.table.append", "id": "acc-grp-table", "aniIn": "fadeIn", "data": [], "bindings": {"id": "id", "name": "name/0"}, "position": -1}
] ]
} }
]' formaction=""><i class="fa fa-book"></i></button><input list="iReceiver-datalist" id="iReceiver" name="receiver" placeholder="&#xf007; Guest" data-action='[ ]' formaction=""><i class="fa fa-book"></i></button><input type="text" list="iReceiver-datalist" id="iReceiver" name="receiver" placeholder="&#xf007; Guest" data-action='[
{ {
"listener": "input", "action": [ "listener": "keyup", "action": [
{"type": "utils.timer", "id": "iReceiver", "delay": 500, "resets": true}, {"type": "utils.timer", "id": "iReceiver", "delay": 500, "resets": true},
{"type": "dom.datalist.clear", "id": "iReceiver-datalist"}, {"type": "dom.datalist.clear", "id": "iReceiver-datalist"},
{"type": "message.request", "uri": "{/base}/{/lang}/api/admin/find/account?search={#iReceiver}", "method": "GET", "request_type": "json"}, {"type": "message.request", "uri": "{/base}/{/lang}/api/admin/find/account?search={#iReceiver}", "method": "GET", "request_type": "json"},