Skip to content
Snippets Groups Projects
Commit e8f9bb68 authored by Aaron Bohy's avatar Aaron Bohy
Browse files

[FIX] web: DebouncedField: notify changes only when changed

Before this rev., if you opened a form view with, e.g. a float
field, that is unset, and then click on edit, then save, it
actually saved the new value for the float field (being 0),
whereas it shouldn't do any RPC as nothing changed.

This is because the former code couldn't detect if the value "0"
in the input is there because the field is still unset or if the
user simply set it to 0.
parent 47305199
No related branches found
No related tags found
No related merge requests found
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