current version

MaterialUI mapper provides components from MaterialUI React library.

npm install --save @data-driven-forms/mui-component-mapper


yarn add @data-driven-forms/mui-component-mapper

MaterialUI has to be installed seperately. Please follow their guidelines.

MUI mapper provides an option to validate a field when the component is mounted. Just set validateOnMount to true.

component: 'text-field',
name: 'required-field',
validate: [{type: 'required'}],
validateOnMount: true

This field will show the error immediately.