Replies: 1 comment
-
|
If you need to limit the characters to only numbers than you should use a TextFormatter as suggested here: StackOverflow Remember to use the delegate method though or it won't work |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello good afternoon, I have a problem when it comes to only allowing the entry of numbers, normally this code works in a TextField but for some reason I can't with an MFXTextField
output
StringProperty [bean: MFXTextField[id=SExtractionTextField, styleClass=mfx-text-field], name: text, value: 3.75] 3.75 3.75a 3.75 StringProperty [bean: MFXTextField[id=SExtractionTextField, styleClass=mfx-text-field], name: text, value: 3.75] 3.75 3.75aa 3.75image

apparently the text of the textfield is not updated, I have tried different ways but I cannot achieve my objective of preventing letters or more than a colon "."
Thanks for read
Beta Was this translation helpful? Give feedback.
All reactions