Overload TextField to accept TextFieldValue directly #98
darthmachina
started this conversation in
Ideas
Replies: 1 comment
-
Thanks for the feature request. I agree this would be great to have |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It would be nice to have a version of TextField that accepts the TextFieldValue directly instead of building from a String. The String version works well for simple cases but there are two use cases I have that seem to require direct access to the TextFieldValue instance. If there are solutions for these I'm open to that but I couldn't see a way to do either.
As for a potential API I would think that the current String version could just construct a TextFieldValue like it does now and delegate to the overloaded version that accepts a TextFieldValue for text.
Beta Was this translation helpful? Give feedback.
All reactions