React-admin: Disabled BooleanInput

Created on 12 Oct 2018  路  3Comments  路  Source: marmelab/react-admin

I can make the BooleanInput disabled, is there a way to make BooleanInput disabled?

Most helpful comment

For anyone who stumbles upon this issue. Do <BooleanInput options={{ disabled: true }} /> instead of <BooleanInput disabled />

All 3 comments

I have solved this problem by use options attributes.

For anyone who stumbles upon this issue. Do <BooleanInput options={{ disabled: true }} /> instead of <BooleanInput disabled />

Has this been changed again? <BooleanInput disabled={true} /> works for me while <BooleanInput options={{ disabled: true }} /> doesn鈥檛 in react-admin 3.10.4.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kdabir picture kdabir  路  3Comments

Dragomir-Ivanov picture Dragomir-Ivanov  路  3Comments

nicgirault picture nicgirault  路  3Comments

marknelissen picture marknelissen  路  3Comments

9747749366 picture 9747749366  路  3Comments