[pve-devel] [PATCH widget-toolkit] fix comboBox validation when forceSelection is true

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Oct 25 17:47:06 CEST 2019


On 10/25/19 1:06 PM, Tim Marx wrote:
> Prevent the comboBox from displaying a validation error although
> forceSelection is true. If you change a valid selection by removing
> characters manually and click somewhere else, the comboBox restores the
> selection with the previous value. The validation logic then checked the
> restored value, but couldn't find it in the store, because the store is
> still filtered with the erroneous query. We now clear the local filter
> before the actual check to prevent this.
> ---
>  form/ComboGrid.js | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
> 

applied, thanks! Please remember to add your "Signed-off-by" trailer.
(I took the freedom and added it for you, as long as you work for
Proxmox (and I share a room with you) I guess that is OK :P )




More information about the pve-devel mailing list