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

Support helperText in a BooleanInput #3127

Closed
kctrlv opened this issue Apr 15, 2019 · 2 comments
Closed

Support helperText in a BooleanInput #3127

kctrlv opened this issue Apr 15, 2019 · 2 comments

Comments

@kctrlv
Copy link

kctrlv commented Apr 15, 2019

What you were expecting:
I would like to be able to set a helperText in this input. I can do this in other inputs, such as
<TextInput helperText='abc123' /> and
<RadioButtonGroupInput meta={ { helperText: 'abc123' } } />
but currently there is no way to set it for a BooleanInput.

Other information:
The reason is that FormHelperText is not included in the BooleanInput.js file. If it were, it would probably be as simple as copying lines 161-164 from RadioButtonGroupInput.js

@fzaninotto fzaninotto changed the title No way to set helperText in a BooleanInput Support helperText in a BooleanInput Apr 16, 2019
@fzaninotto
Copy link
Member

Hi, nice idea for an enhancement. Feel free to submit a PR about it.

@fzaninotto
Copy link
Member

Fixed by #3339

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

No branches or pull requests

2 participants