Open Bedo81 opened 8 years ago
If I add defaultValue or add value to detail and click reset button, it clears the variables and set them back on after second click.
Please see the JS Bin and click reset button.
http://jsbin.com/rapamupuze/1/edit?js,output
Thank you
To me that behaves as I would expect. That's doing a complete reset on the form, ie a clear, not a reset back to default.
It works differently on other controls. It doesn't remove the attribute.
http://jsbin.com/qatiwafaxo/1/edit?js,output
If I add defaultValue or add value to detail and click reset button, it clears the variables and set them back on after second click.
Please see the JS Bin and click reset button.
http://jsbin.com/rapamupuze/1/edit?js,output
Thank you