Closed Apollinaire closed 6 years ago
Oh right, that makes sense. We need to add the field to deletedValues
when it's cleared.
Actually this code should already take care of it?
Yes it does work! We committed at the same time so I didn't have your change when I made the PR. You can close this I guess
OK, can I close this then?
I closed this and the PR :)
When on an edit form, on a required text input, if you delete every character it gets overwritten with what was previously prefilled.
How to reproduce: use Vulcan devel + Vulcan-starter, package example-forms. Create a new customer, let's call it Sacha, then click 'Edit' to open the edit modal form. In the field
Name
, remove every character. It's ok until you remove the first S, after what the field gets written with the full previous name, aka Sacha.If i'm not being clear enough i'll provide screenshots