1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-28 16:50:06 +01:00

Fix autocomplete form

This commit is contained in:
MatteoPistorello 2021-04-16 13:09:12 +02:00
parent abfc35b2d2
commit 5de751aba8
3 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@ if (sizeof($problemi_anagrafica) > 0) {
?>
<form action="" method="post" id="edit-form" autocomplete="<?php echo setting('Autocompletamento form'); ?>" >
<form action="" method="post" id="edit-form">
<fieldset>
<input type="hidden" name="backto" value="record-edit">
<input type="hidden" name="op" value="update">

View File

@ -73,7 +73,7 @@ class ChoicesHandler implements HandlerInterface
$result = '
<div class="form-group checkbox-group">
<input type="hidden" name="|name|" value="|value|" class="openstamanager-input">
<input type="checkbox" id="|id|" value="|value|" autocomplete="off" class="hidden" |attr| onchange="$(this).parent().find(\'[type = hidden]\').val(+this.checked).trigger(\'change\')"/>
<input type="checkbox" id="|id|" value="|value|" class="hidden" |attr| onchange="$(this).parent().find(\'[type = hidden]\').val(+this.checked).trigger(\'change\')"/>
<div class="btn-group checkbox-buttons">
<label for="|id|" class="btn btn-default'.$class.'">
<span class="fa fa-check text-success"></span>

View File

@ -72,7 +72,7 @@ class DefaultHandler implements HandlerInterface
{
// Generazione del codice HTML
return '
<input |attr| autocomplete="off">';
<input |attr| autocomplete='.setting("Autocompletamento form").'>';
}
/**