fix autocomplete

This commit is contained in:
Dennis Eichhorn 2020-07-05 22:03:33 +02:00
parent 5ba6f9121e
commit 73b7aa57b4
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ echo $this->getData('nav')->render(); ?>
<option value="<?= $this->printHtml(\phpOMS\Account\GroupStatus::INACTIVE); ?>"><?= $this->getHtml('Inactive'); ?>
</select>
<tr><td><label for="iGname"><?= $this->getHtml('Name'); ?></label>
<tr><td><input id="iGname" name="name" type="text" spellcheck="false" autocomplete="false" placeholder="&#xf0c0; Guest" required>
<tr><td><input id="iGname" name="name" type="text" spellcheck="false" autocomplete="off" placeholder="&#xf0c0; Guest" required>
<tr><td><?= $this->getData('editor')->render('group-editor'); ?>
<tr><td><?= $this->getData('editor')->getData('text')->render('group-editor', 'description', 'fGroupCreate'); ?>
</table>

View File

@ -68,7 +68,7 @@ echo $this->getData('nav')->render(); ?>
<label for="iGid"><?= $this->getHtml('ID', '0', '0'); ?></label>
<input id="iGid" name="id" type="text" value="<?= $this->printHtml($group->getId()); ?>" disabled>
<label for="iGname"><?= $this->getHtml('Name'); ?></label>
<input id="iGname" name="name" type="text" spellcheck="false" autocomplete="false" placeholder="&#xf0c0; Guest" value="<?= $this->printHtml($group->getName()); ?>">
<input id="iGname" name="name" type="text" spellcheck="false" autocomplete="off" placeholder="&#xf0c0; Guest" value="<?= $this->printHtml($group->getName()); ?>">
<label for="iGstatus"><?= $this->getHtml('Status'); ?></label>
<select id="iGstatus" name="status">
<?php $status = \phpOMS\Account\GroupStatus::getConstants(); foreach ($status as $stat) : ?>