Skip to content
Snippets Groups Projects
Commit 02e213a7 authored by Kasalehlia's avatar Kasalehlia Committed by Martin Weinelt
Browse files

gluon-web-model: update inputs on form reset

Register to 'reset' event on form element and make call to 'update' function
delayed in 'data-update' handler to allow the form values to update beforehand.

When using a form's 'reset' button, form field visibility was not updated.
This could lead to situations where a checkbox had to be toggled again
twice to display the detail text inputs. (Example taken from private
wifi package)

(cherry picked from commit bf090a8a)
parent f7d0db69
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment