Open martinszeltins opened 3 weeks ago
Yeah that would be totally possible to add!
+1
@martinszeltins @kyong9793 , should it extract only dirty fields that are valid
? Should it perform a validate
before getting the values?
@martinszeltins @kyong9793 , should it extract only dirty fields that are
valid
? Should it perform avalidate
before getting the values?
@victorgarciaesgi It should extract all dirty fields, validation is not required.
I have a backend that expects me to send it only the dirty fields via API. I wonder if it is possible to somehow retrieve all fields of my form that are dirty?
For example if this is my form:
I have 2 fields that are dirty here:
It would be nice if
regle
had some function likegetDirtyFields
that would return me only those fields that are dirty like this: