Ensuring that only valid characters are entered does not ensure that the 
entered value is correct. What developers require is data validation / form 
validation.

Dirk



> Am 02.03.2024 um 16:28 schrieb Nir Lisker <nlis...@gmail.com>:
> 
> Hi Dirk,
> 
> JavaFX has some input validation support in terms of focus control and 
> rejecting invalid characters. Can you  explain what your proposal adds? Are 
> there JBS issues asking for this?
> 
> Thanks, 
> Nir
> 
> On Fri, Mar 1, 2024, 13:50 Dirk Lemmermann <dlemmerm...@gmail.com 
> <mailto:dlemmerm...@gmail.com>> wrote:
>> Hi everyone,
>> 
>> I updated the validation framework ValidatorFX today in our project to the 
>> latest release and I really like it a lot. It is a small compact API and 
>> works with any observable as opposed to the validation support provided by 
>> ControlsFX. 
>> 
>> Using it made me wonder whether it would make sense to bundle it or 
>> something like it directly with JavaFX. Developers often mention missing 
>> validation support as a drawback of using JavaFX. Adding this would take one 
>> item off from the list of arguments against using JavaFX. 
>> 
>> Many UI frameworks do have built-in validation support, e.g. Vaadin [0], 
>> Angular, [1], or QT [2]
>> 
>> What do you think?
>> 
>> —Dirk
>> 
>> [0] https://vaadin.com/docs/latest/binding-data/components-binder-validation
>> [1] https://angular.io/guide/form-validation
>> [2] https://doc.qt.io/qt-6/qtquick-input-textinput.html
>> 

Reply via email to