modular-forms icon indicating copy to clipboard operation
modular-forms copied to clipboard

Bug: Unable to Edit Input in Modular Form in Production Mode (React )

Open MuhamedAyoub opened this issue 1 year ago • 3 comments

Bug Description: I've encountered a bug in the modular form implemented using React in production mode. In this form, I'm unable to edit the input fields. The issue is not present in development mode.

MuhamedAyoub avatar Aug 17 '23 22:08 MuhamedAyoub

Could you figure out why it's not working?

fabian-hiller avatar Aug 18 '23 09:08 fabian-hiller

The issue stems from the onChange method integrated into the library. Both the value and the error are susceptible to type unsafety (usage of Preact within the React app).

MuhamedAyoub avatar Aug 18 '23 16:08 MuhamedAyoub

Maybe this is related to https://github.com/fabian-hiller/modular-forms/issues/104

fabian-hiller avatar Aug 19 '23 10:08 fabian-hiller