mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-10 15:32:05 -03:30
add empty hidden input so that empty checkboxes get submitted (#35552)
fixes: #35352 Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
parent
77a54f3d59
commit
9d47235503
@ -176,7 +176,8 @@
|
||||
<#assign classDiv=properties.kcInputClassRadio!>
|
||||
<#assign classInput=properties.kcInputClassRadioInput!>
|
||||
<#assign classLabel=properties.kcInputClassRadioLabel!>
|
||||
<#else>
|
||||
<#else>
|
||||
<input type="hidden" id="${attribute.name}-empty" name="${attribute.name}" value=""/>
|
||||
<#assign inputType='checkbox'>
|
||||
<#assign classDiv=properties.kcInputClassCheckbox!>
|
||||
<#assign classInput=properties.kcInputClassCheckboxInput!>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user