<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Ensuring that only valid characters are entered does not ensure that the entered value is correct. What developers require is data validation / form validation.<div><br></div><div>Dirk</div><div><br><div><br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>Am 02.03.2024 um 16:28 schrieb Nir Lisker <nlisker@gmail.com>:</div><br class="Apple-interchange-newline"><div><div dir="auto">Hi Dirk,<div dir="auto"><br></div><div dir="auto">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?</div><div dir="auto"><br></div><div dir="auto">Thanks, </div><div dir="auto">Nir</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 1, 2024, 13:50 Dirk Lemmermann <<a href="mailto:dlemmermann@gmail.com" target="_blank" rel="noreferrer">dlemmermann@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-break:after-white-space">Hi everyone,<div><br></div><div>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. </div><div><br></div><div>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. </div><div><br></div><div>Many UI frameworks do have built-in validation support, e.g. Vaadin [0], Angular, [1], or QT [2]</div><div><br></div><div>What do you think?</div><div><br></div><div>—Dirk</div><div><br></div><div>[0] <a href="https://vaadin.com/docs/latest/binding-data/components-binder-validation" rel="noreferrer noreferrer" target="_blank">https://vaadin.com/docs/latest/binding-data/components-binder-validation</a></div><div>[1] <a href="https://angular.io/guide/form-validation" rel="noreferrer noreferrer" target="_blank">https://angular.io/guide/form-validation</a></div><div>[2] <a href="https://doc.qt.io/qt-6/qtquick-input-textinput.html" rel="noreferrer noreferrer" target="_blank">https://doc.qt.io/qt-6/qtquick-input-textinput.html</a></div><div><br></div></div></blockquote></div>
</div></blockquote></div><br></div></div></body></html>