-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Unable to pass props to input in DateInput #387
Comments
To proxy the props down to the input in a sane way, I think we need a new API <DateInput
datePickerProps={...}
inputGroupProps={...}
className, closeOnSelection, defaultValue, format, value...
/> Things to note:
|
@cmslewis is looking at |
Ack. |
Hi guys ! Any news about this ? I want to add the "name" attribute to serialize the form afterwards. |
@valentinvoilean progress here is slow at best because solving this issue correctly will likely be a breaking change (as proposed in #387 (comment) above) which will require a new major version. We are in the process of planning Blueprint 2.0 but I can't even begin to offer a time estimate. |
This would be great, as I would like to pass From my testing this is currently not possible to achive. |
I would also be interested in being able to pass |
@giladgray Thanks! I tried this but it doesn't seem to do the job. The DateInput is wrapped in an inline |
I know that's an old question, but for anyone who is interested:
that will do the trick |
Bug report
Unable to pass props to the input element inside of a DateInput. e.g. can't use the HTML5 validation attributes. Related to: #361
Steps to reproduce
Actual behavior
Expected behavior
The text was updated successfully, but these errors were encountered: