Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFR] Display errors on mui BooleanInput #3115

Conversation

AntoineLelaisant
Copy link
Contributor

No description provided.

@AntoineLelaisant AntoineLelaisant force-pushed the ra-mui-bootstrap-input-errors branch from 1fcc911 to 3883d99 Compare April 10, 2019 15:12
@AntoineLelaisant AntoineLelaisant force-pushed the ra-mui-bootstrap-input-errors branch from 3883d99 to c17ee15 Compare April 11, 2019 07:40
@fzaninotto fzaninotto changed the title [RFR] Display errors on mui BootstrapInput [RFR] Display errors on mui BooleanInput Apr 11, 2019
@@ -51,6 +53,13 @@ export class BooleanInput extends Component {
/>
}
/>
{meta.error
? meta.error.map((error, index) => (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<BooleanInput
source="foo"
input={{}}
meta={{ error: ['foo', 'bar'] }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

error should be a string

@fzaninotto
Copy link
Member

Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants