Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 545 Bytes

maskedtextinput.md

File metadata and controls

19 lines (12 loc) · 545 Bytes

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

Prop Required Type Default Description
mask true string - the mask pattern.

It accepts react-admin TextInput props