CountryInput

CountryInput component uses react-admin SelectInput with a pre-defined countries list.

Usage

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

<CountryInput fullWidth validate={[required()]} />;

Props

PropRequiredTypeDefaultDescription

source

false

string

country

the field source to retrieve its value.

Last updated