I want to implement a good Persistent State checking feature, this
feature should show the user the Save button only when there are
changes to save, if there are no changes, the button will be hidden.
I thought to do it, this way:
When the page is first loaded, I'll save the values of each of the
input elements and each time an input is modified I'll compare the
previously saved value with the last entered by the user, this way if
the user deletes and wrote the same value, it'll recognize that there's
no need to save.
Now, I want to implement it the little as possible, so I thought to
save the initial value in the same input element, I haven't found an
inout's property where I can store the value...
Is it possible to dinamically add a property to the input where I could
store my value?
Best Regards
Fabio Cavassini