I am trying to figure out how to get the value from the textField in TVML using TVJS but I haven't found any documentation on it yet and I don't want to wait around for the documentation to be updated. There isn't really any patterns for binding to input since I'm sure this is a seldom use case other than logging into a service. I guess I could parse the Xml but that seems super hacky.
相关问题
- How to do a UIPickerView in tvOS?
- Unable to Install the Charles Proxy profile on App
- iPad Mirroring using 2 screens, does it support 10
- Customize Keyboard in tvOS
- How to move the focus from a button to another in
相关文章
- How to move the focus from a button to another in
- Airplay on new Apple TV (3rd gen.) for second scre
- UITextView not Scrolling in tvOS
- TVML vs Custom App for Apple TVOS
- 如何实现火力地堡Analytics(分析)实施的AppleTV(tvOS)?(How to impl
-
Manually setting focus to a
element in TV - React-native: tvOS How to force a Button to be foc
- Apple TV: don't show system keyboard
this solution doesn't work for me by some reason, but I found another one:
I ended up figuring it out myself. I had to use the callback from the select event object and then pass the text element into a function to handle the event.
Once I had the node I used the apple TVJS function getFeature('Keyboard') to get the text value from this object.