MaskedTextInput component uses react-imask to render the text input with mask pattern
import { MaskedTextInput } from '@ra-libs/react';
<MaskedTextInput source="CPF" mask="000.000.000-00" fullWidth validate={[required()]} />;
Prop | Required | Type | Default | Description |
---|---|---|---|---|
mask | true | string | - | the mask pattern. |
It accepts react-admin TextInput props