mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-25 00:13:45 +00:00
Fix: Récupère une valeur correcte quand la valeur du tt_input a changé
This commit is contained in:
parent
7f52651a6c
commit
1c98b68d37
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ def typeahead_updater( f_name ):
|
|||
|
||||
def typeahead_change( f_name ):
|
||||
return 'function(evt) { ' \
|
||||
'if (evt.currentTarget.value === "") {' \
|
||||
'if ($("#'+input_id(f_name)+'").typeahead("val") === "") {' \
|
||||
'$("#'+hidden_id(f_name)+'").val(""); ' \
|
||||
'$("#'+hidden_id(f_name)+'").change();' \
|
||||
'}' \
|
||||
|
|
Loading…
Reference in a new issue