The UI Toolkit TextField’s value is not set when you submit from or close the mobile touch keyboard on iPad while the TextField’s .isDelayed is true.
This is an issue, as I have Value Changed callback for the TextField that I only want to trigger when the user submits.
On windows this isn’t an issue, because pressing enter seems to cause the TextField’s value to change to what was typed in, then the value changed callback is triggered. On the iPad, it looks like pressing done/closing the keyboard does nothing when .isDelayed is set to true (the value of the textField doesn’t change), and therefore there is also no value changed callback.
Is there anyway to use .isDelayed and have it behave like pc on the iPad, or if not, what is the best way to achieve this. I want to type into the ipad, not have the actual text field value update (you can see your current entered text in a little preview above the keyboard on the iPad), and then have the value in the text field value actually change to what you typed when you press submit or close the keyboard, (and then the value changed callback would be triggered)
The description for .isDelayed in the docs is: “If set to true, the value property isn’t updated until either the user presses Enter or the text field loses focus.” I suppose technically this matches the behaviour on iPad, since you’re not hitting ‘enter’ but ‘done’ or something, but I think what I’m experiencing isn’t a bug, then the behaviour should be changed to handled to match what happens on desktop (if I press done/close the keyboard, change the TextField’s value)