You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think Problem is, that the input field is rendererd twice with the same name in html, why Chrome sents two values back to server, one empty, one with correct. However the empty value is set to the backing bean.
I'm using Chrome Version 70.0.3538.77 , Bootsfaces 1.4.1
The text was updated successfully, but these errors were encountered:
Supplement:
Problem seems to occur because, two input elements are rendered in html (both with component id as name).
When removing the tags="true" option, only one input element is rendered as expected
pkelbert
pushed a commit
to pkelbert/BootsFaces-OSP
that referenced
this issue
Jun 12, 2019
Tagsinput clones InputText 'input' HTML element and keeps both original
and newly created elements with 'name' attribute.
This commit removes duplicated 'name' attribute on newly created HTML
'input' element via inline JavaScript for each InputText component with
tags enabled.
FixTheCoder4eu#1079
Tagsinput clones InputText 'input' HTML element and keeps both original
and newly created elements with 'name' attribute.
This commit removes duplicated 'name' attribute on newly created HTML
'input' element via inline JavaScript for each InputText component with
tags enabled.
Fix#1079
I'm trying to write multiple tags to a managed bean, but the value is always an empty string.
My InputText looks like:
<b:inputText id="dataTypeProcedures" value="#{dataTypeBean.tags}" placeholder="Verfahren" tags="true" typeahead="true" typeahead-values="#{dataTypeBean.avaliableProcedures}" tiny-screen="full-width" />
I think Problem is, that the input field is rendererd twice with the same name in html, why Chrome sents two values back to server, one empty, one with correct. However the empty value is set to the backing bean.

I'm using Chrome Version 70.0.3538.77 , Bootsfaces 1.4.1
The text was updated successfully, but these errors were encountered: