We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I enabled adding custom values like:
public class CustomValueStringMultiselectComboBox extends MultiselectComboBox<String> { public CustomValueStringMultiselectComboBox(String label) { super(label); setItems(Collections.emptyList()); setAllowCustomValues(true); addCustomValuesSetListener(e -> { LinkedHashSet<String> value = new LinkedHashSet<>(getValue()); value.add(e.getDetail()); setItems(value); setValue(value); }); } }
If I try to get values (via binder) it returns an empty list. Here v is during all states an empty collection.
binder.bind(telecommunicationMultiComboBox, d -> { telecommunicationMultiComboBox.setItems(d.getTelecommunicationSet()); return d.getTelecommunicationSet(); }, (d, v) -> { v = telecommunicationMultiComboBox.getSelectedItems(); d.setTelecommunicationSet(v); });
Expected behavior is that custom values are returned.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I enabled adding custom values like:
If I try to get values (via binder) it returns an empty list. Here v is during all states an empty collection.
Expected behavior is that custom values are returned.
The text was updated successfully, but these errors were encountered: