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
To reproduce the error:
Value is not clear.
I'll add the code where I use the clear:
this.natuerlichePerson = SwitchButton.create(ApplicationConstantsFactory.INSTANCE.get("natuerlichePerson"), ApplicationConstantsFactory.INSTANCE.get("no"), ApplicationConstantsFactory.INSTANCE.get("yes")) .groupBy(grouping) .addChangeListener((oldValue, newValue) -> { if (newValue) { this.gesellschaftsform.clear(); this.gesellschaftsform.hide(); this.gesellschaftsform.setRequired(false); } else { this.gesellschaftsform.show(); this.gesellschaftsform.setRequired(true); } });
this.gesellschaftsform = Select.<String>create(ApplicationConstantsFactory.INSTANCE.get("gesellschaftsform")) .groupBy(grouping) .setRequired(true); List<SelectOption<String>> optionsList = new ArrayList<>(); Arrays.asList(ClGesellschaftsform.values()) .forEach(e -> optionsList.add(SelectOption.create(e.getKurzBezeichnung(), e.getKurzBezeichnung(), e.getBezeichnung()))); optionsList.forEach(o -> this.gesellschaftsform.appendChild(o));
Expected result should be that the clear()-call should deselect a choosen value/ clears the selection.
clear()
The text was updated successfully, but these errors were encountered:
Select
fix #842 clear() on a Select does not clear the value
d32f993
vegegoku
No branches or pull requests
To reproduce the error:
Value is not clear.
I'll add the code where I use the clear:
Expected result should be that the
clear()
-call should deselect a choosen value/ clears the selection.The text was updated successfully, but these errors were encountered: