agnosticui
agnosticui copied to clipboard
[react] Are there any plans to add "forwardRefs" to your Input element?
Hi, I'm testing the library and I'm loving it, but I was unable to capture the value of input fields using refs in React.
If I didn't see any specific attributes that would forward the ref directly into the input
element to allow me to read the content of the field later on. So I was wondering if this is by design or if you were planning on adding some kind of support for this in the future?
Thanks!
You're not able to support your use case by simply listening for change events?
Typically I've used forwarded refs when I really need low level control of an otherwise "controlled component" and it always adds complexity so I'm careful to not lean on that often.
Again, would love to better understand your needs.
For example, you can not currently use react-hook-form library with agnosticui