Fix form layouts

This commit is contained in:
Dennis Eichhorn 2017-11-13 20:48:05 +01:00
parent 45373cda5c
commit 5f883a9226

View File

@ -1,5 +1,7 @@
<span class="input"> <div class="ipt-wrap">
<button type="button" data-action='[ <div class="ipt-first">
<span class="input">
<button type="button" data-action='[
{ {
"listener": "click", "action": [ "listener": "click", "action": [
{"key": 1, "type": "dom.popup", "selector": "#acc-grp-tpl", "aniIn": "fadeIn", "id": "<?= $this->printHtml($this->getId()); ?>"}, {"key": 1, "type": "dom.popup", "selector": "#acc-grp-tpl", "aniIn": "fadeIn", "id": "<?= $this->printHtml($this->getId()); ?>"},
@ -9,8 +11,8 @@
{"key": 5, "type": "dom.table.append", "id": "grp-table", "aniIn": "fadeIn", "data": [], "bindings": {"id": "id", "name": "name/0"}, "position": -1} {"key": 5, "type": "dom.table.append", "id": "grp-table", "aniIn": "fadeIn", "data": [], "bindings": {"id": "id", "name": "name/0"}, "position": -1}
] ]
} }
]' formaction=""><i class="fa fa-book"></i></button> ]' formaction=""><i class="fa fa-book"></i></button>
<input type="text" list="<?= $this->printHtml($this->getId()); ?>-datalist" id="<?= $this->printHtml($this->getId()); ?>" name="receiver" placeholder="&#xf007; Guest" data-action='[ <input type="text" list="<?= $this->printHtml($this->getId()); ?>-datalist" id="<?= $this->printHtml($this->getId()); ?>" name="receiver" placeholder="&#xf007; Guest" data-action='[
{ {
"key": 1, "listener": "keyup", "action": [ "key": 1, "listener": "keyup", "action": [
{"key": 1, "type": "validate.keypress", "pressed": "!13!37!38!39!40"}, {"key": 1, "type": "validate.keypress", "pressed": "!13!37!38!39!40"},
@ -29,9 +31,13 @@
{"key": 5, "type": "dom.setvalue", "overwrite": true, "selector": "#<?= $this->printHtml($this->getId()); ?>", "value": "", "data": ""} {"key": 5, "type": "dom.setvalue", "overwrite": true, "selector": "#<?= $this->printHtml($this->getId()); ?>", "value": "", "data": ""}
] ]
} }
]'<?= $this->isRequired() ? ' required' : ''; ?>> ]'<?= $this->isRequired() ? ' required' : ''; ?>>
<datalist id="<?= $this->printHtml($this->getId()); ?>-datalist"></datalist> <datalist id="<?= $this->printHtml($this->getId()); ?>-datalist"></datalist>
<input type="hidden" id="<?= $this->printHtml($this->getId()); ?>-idlist"></span> <input type="hidden" id="<?= $this->printHtml($this->getId()); ?>-idlist">
</span>
</div>
<div class="ipt-second"><button><?= $this->getHtml('Add', 0, 0); ?></button></div>
</div>
<div class="box taglist" id="<?= $this->printHtml($this->getId()); ?>-taglist" data-action='[ <div class="box taglist" id="<?= $this->printHtml($this->getId()); ?>-taglist" data-action='[
{ {
"key": 1, "listener": "click", "selector": "#<?= $this->printHtml($this->getId()); ?>-taglist span fa", "action": [ "key": 1, "listener": "click", "selector": "#<?= $this->printHtml($this->getId()); ?>-taglist span fa", "action": [