jmix-docs
jmix-docs copied to clipboard
Improve PasswordField doc
Existing page: https://docs.jmix.io/jmix/flow-ui/vc/components/passwordField.html
-
passwordField.getValue().isEmpty() == false
can be simplified to!passwordField.getValue().isEmpty()
. -
Value description says:
If the value cannot be parsed to
String
, the default conversion error message appears.
Previously doc says:
The input for passwordField can only be of type
String
.
~Question: in what cases the value cannot be parsed to String
?~
String
can be converted to String
in any cases.
-
Handlers.
- Missing
statusChangeHandler
-
ChangeEvent
andInvalidChangeEvent
no longer valid
- Missing
-
Validator code example:
String.valueOf(value)
is redundant,value
is already aString
. -
Elements. Missing
prefix
andsuffix
elements. -
Add
revealButtonVisible
attribute: wait for https://github.com/jmix-framework/jmix/issues/3206 -
Add
css
,ariaLabel
,ariaLabelBy
,focusShortcut
common attributes -
Remove
requiredIndicatorVisible
,invalid