Currently, I am developing an input component for my login form to avoid creating the input tag repeatedly whenever it is needed. In my previous implementations without components, I was able to save the input value at the @input event using refs (by accessing ref.value.value).
However, I have encountered an issue now that I can't simply add a ref to my input as they are components, not HTML tags. How can I resolve this? :( I require their value for regExp test
Shown below are images of the input before and after:
Thank you in advance for your assistance.