Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data-Binding #123

Open
Milchreis opened this issue Mar 29, 2024 · 1 comment
Open

Data-Binding #123

Milchreis opened this issue Mar 29, 2024 · 1 comment

Comments

@Milchreis
Copy link
Owner

UiBooster is missing a data-binding functionality. FormElements get an initial value and any change by the user are trackable with the ChangeListener. But if the data is changed on another way the Ui get no notification.

UiBooster should support this functionality to be usable in more complex UIs.

@Milchreis
Copy link
Owner Author

Milchreis commented Mar 29, 2024

The current state of development brings the following breaking changes:

  • ImageFormElement.getValue() returns the path to the image now and not the ImagePanel anymore
  • ListFormElement.setValue() sets the selected elements and not the list of options. If you want to change the options you have to use setElements() now
  • TableFormElement.setValue() and getValue() uses a new TableData-wrapper-class instead of String[][]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant