Closed gtnarg closed 8 years ago
It is by design, you must add IntegerStringConverter() as the second parameter. We might be able to support it though, I will check when I get back home tomorrow and let you know :)
Hi,
For the two-argument function, use NumberStringConverter. javafx.beans.property.IntegerProperty is actually Property
textfield(SimpleIntegerProperty(101), NumberStringConverter())
Yeah, sorry, that's what I meant :) I'm on my phone in Oslo, just winging it :)
This feature is now merged with master. Thanks @bekwam :)
textfield( model.myInt )
where model.myInt is an Integer property is not supported whereas the following is:
Is this by design or an oversight?
See full sample below.
Thanks Grant