mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-01-11 15:38:40 +00:00
Add datalist action
This commit is contained in:
parent
79390dbded
commit
7615331f2b
|
|
@ -36,14 +36,17 @@ echo $this->getData('nav')->render(); ?>
|
|||
{"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 type="text" id="iReceiver" name="receiver" placeholder=" Guest" data-action='[
|
||||
]' formaction=""><i class="fa fa-book"></i></button><input list="iReceiver-datalist" id="iReceiver" name="receiver" placeholder=" Guest" data-action='[
|
||||
{
|
||||
"listener": "input", "action": [
|
||||
{"type": "utils.timer", "id": "iReceiver", "delay": 500, "resets": true},
|
||||
{"type": "message.request", "uri": "{/base}/{/lang}/api/admin/find/account?search={#iReceiver}", "method": "GET", "request_type": "json"}
|
||||
{"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": "dom.datalist.append", "id": "iReceiver-datalist", "value": "id", "text": "name"}
|
||||
]
|
||||
}
|
||||
]' required></span><td><button><?= $this->getText('Add', 0, 0); ?></button>
|
||||
]' required>
|
||||
<datalist id="iReceiver-datalist"></datalist></span><td><button><?= $this->getText('Add', 0, 0); ?></button>
|
||||
<tr><td colspan="2"><label for="iObserver"><?= $this->getText('CC'); ?></label>
|
||||
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="number" min="1" id="iObserver" name="observer" placeholder=" Guest"></span><td><button><?= $this->getText('Add', 0, 0); ?></button>
|
||||
<tr><td colspan="2"><label for="iDue"><?= $this->getText('Due'); ?></label>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user