Can't set input value (event > current > value missing)
In my login form I 'm using custom input components , but I can 't seem to get the component working . In the input component I have a label and a standard input , but when I try to set my value I select the value of the input event , just the event itself . Quite sure this is the issue but I can 't find the solution . What am I missing ? ✅1So structure goes like this -Form component - - UI Input & label component - - - Input component On the input I 'm fetching the event .target .value . I have an input event on the input to store that value in an inputValue variable . In the UI input & label component I 'm taking that and setting another variable (value ) and already here I can 't get the event value . Not sure how I 'd pass the value to my event ? PS . Amazing reply time , thanks so much for being on fire ! On your ui -input you need an event to send the data out of the component , not set it to a value . Create an event called “onValueChange ” (or something similar ) on your ui -input and have that be triggered by both the change and input events in the inputs section of the events tab , set to event .target .value . Then in your ui -input -label create the same event and have this event triggered by the onValueChange event on your ui -input set to just the value of the event . Now you should be able to get the value of the input from outside the ui -input -label component . I also have a video on it here where you also open the project and see it for yourself : https://youtu.be/BrVK0OPX0ks?si=BmgcsJ4zCuMHW20b 🤘1