Byteclaw / forms

📋 Easily built forms in React using Hooks API
https://www.npmjs.com/package/@byteclaw/forms
MIT License
8 stars 0 forks source link

Investigate removing fields from ArrayField using REMOVE_FIELD #31

Closed michalkvasnicak closed 4 years ago

michalkvasnicak commented 5 years ago

When I add a value to array field and then I invoke REMOVE_FIELD it still stays there. Seems like some sort of race condition where the value disappears from value array but is again added because subsequent Field component with given index as name re-adds itself automatically on mount.

michalkvasnicak commented 4 years ago

Could not reproduce