MantinePasswordField#
@palmyralabs/rt-forms-mantine · form/MantinePasswordField.tsx
Overview#
Masked input with Mantine’s built-in visibility toggle.
Props — ITextFieldDefinition & PasswordInputProps#
Common field props plus Mantine PasswordInputProps (visible, onVisibilityChange, visibilityToggleIcon, …).
Ref — ITextField#
Same as MantineTextField.
Example#
<MantinePasswordField
attribute="password"
label="Password"
required
regExp={{ regex: /^(?=.*[A-Z])(?=.*\d).{8,}$/, errorMessage: '8+ chars with an uppercase and a digit' }}
/>