You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For better flexibility and reducing form field-related component initializers, the message and password strength should be up to a call site to provide a specific view plus an accessibility identifier.
Now:
InputField(..., message:, passwordStrength: )
Proposed:
InputField(...) {
PasswordStrength(...)
.accessibility(.passwordStrengthId)
} message: {
FieldMessage(...)
.status(.warning) // allows override of status
.accessibility(.messageId)
}
.status(.critical)
The text was updated successfully, but these errors were encountered:
PavelHolec
changed the title
Extract message and passwordStrength out of fields
Extract message and passwordStrength out of form field inits
Apr 20, 2023
For better flexibility and reducing form field-related component initializers, the
message
andpassword strength
should be up to a call site to provide a specific view plus an accessibility identifier.Now:
Proposed:
The text was updated successfully, but these errors were encountered: