AN
Size: a a a
AN
BP
В
SEVERE: Uncaught error
java.lang.IllegalArgumentException: The start must be <= the end
at javafx.scene.control.TextInputControl.getText(TextInputControl.java:446)
at javafx.scene.control.TextInputControl$TextInputControlFromatterAccessor.getText(TextInputControl.java:1609)
at javafx.scene.control.TextFormatter$Change.getControlNewText(TextFormatter.java:453)
at com.example.demo.view.MainView$root$1$1$1$1$1$1$1$1$1.invoke(MainView.kt:44)
at com.example.demo.view.MainView$root$1$1$1$1$1$1$1$1$1.invoke(MainView.kt:31)
at tornadofx.CustomTextFilter.apply(Nodes.kt:1353)
В
AN
BP
В
AN
В
В
В
В
AN
В
textfield("100") {
filterInput { it.controlNewText.isInt() }
hgrow = Priority.ALWAYS
}.bind(model.amount)
В
В
В
В
В