Milchreis / UiBooster

🚀 Creates fast and easy dialogs for utility tools
GNU General Public License v3.0
117 stars 12 forks source link

Form: change values with set-functions #14

Closed Milchreis closed 4 years ago

Milchreis commented 4 years ago

Currently there is no way to change a value from a filled form. In some cases is could be useful to change back a value from code, f.e. for validation.

Milchreis commented 4 years ago

Example:

FilledForm form = new UiBooster()
                .createForm("Personal information")
                .addText("Whats your first name?")
                .run();
// ...

form.getByLabel("Whats your first name?").setValue("Changed text from code instead of use input");