Use case:
1) Form initial values are empty string
2) After API request you get data and use form.setForm()
3) Then you want to enable Submit button only when something has changed. (disabled={isDirty == false})
We need form.resetDirty() or setForm() should reset all except values (witch I think is correct behaviour).
Right now isDirty=true after setForm()
Use case: 1) Form initial values are empty string 2) After API request you get data and use form.setForm() 3) Then you want to enable Submit button only when something has changed. (disabled={isDirty == false})
We need form.resetDirty() or setForm() should reset all except values (witch I think is correct behaviour).
PS: Thank you for wonderful lib. Liked it a-lot:)