MaskedTextInput

MaskedTextInput component uses react-imask to render the text input with mask pattern

Usage

import { MaskedTextInput } from '@ra-libs/react';

<MaskedTextInput source="CPF" mask="000.000.000-00" fullWidth validate={[required()]} />;

Props

PropRequiredTypeDefaultDescription

mask

true

string

-

the mask pattern.

It accepts react-admin TextInput props

Last updated