vascofg / react-admin-date-inputs

Date Inputs for react-admin
MIT License
68 stars 81 forks source link

Validation error is not displayed #5

Closed jarradsl closed 6 years ago

jarradsl commented 6 years ago

Validation error is not displayed when DateInput fails validation.

      <DateInput
        label="Happened on"
        source="happened_on"
        validate={[required()]}
        options={{
          clearable: true,
          format: 'DD/MM/YYYY',
        }}
      />

The form fails to validate however the Input styling does not change to indicate an error.

vascofg commented 6 years ago

Thank you for reporting. Fixed in 1.0.15.