NoUi Field
Lightweight field implementation that has no UI component and can still be used with Binder.
NoUiField is a lightweight generic field that you can use to hold back-end values that still need to be bound via com.vaadin.flow.data.binder.Binder.
NoUiCollectionField is a similar field for generic Collections. Useful when you want to manipulate a collection of associated entities in the context of Binder.
You can use both of these with the Binder class just like other fields.
Sample code
Section bean = new Section("My Name", 11); Binder<Section> binder = new Binder<>(); TextField nameField = new TextField("Name"); sectionLayout.add(nameField); binder.bind(nameField, Section::getName, Section::setName); NoUiField<Integer> orderField = new NoUiField<Integer>(); binder.forField(orderField).bind(Section::getOrder, Section::setOrder); binder.readBean(section);
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
- Released
- 2023-06-11
- Maturity
- STABLE
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 23+
- Browser
- Browser Independent
NoUi Field - Vaadin Add-on Directory
Lightweight field implementation that has no UI component and can still be used with Binder.NoUiField is a lightweight generic field that you can use to hold back-end values that still need to be bound via com.vaadin.flow.data.binder.Binder.
NoUiCollectionField is a similar field for generic Collections. Useful when you want to manipulate a collection of associated entities in the context of Binder.
You can use both of these with the Binder class just like other fields.