We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Use the following <DateInput value={date } placeholder={"pick a date"} large={true} onChange={ change handler } **inputProps={{tabIndex: 1}}** {...getMomentFormatter()} /> <InputGroup value={"whatever"} onChange={ change handler } tabIndex={2} />
Click in the text field, and press the tab key
Cursor moves to some seemingly random control on the page
Cursor moves to the date input
Allow inputProps to pass all property values to the tag in DateInput -or- update examples to show how inputProps should be used
The text was updated successfully, but these errors were encountered:
@kittle31 can you please construct a code sandbox to demonstrate the bug? use https://codesandbox.io/s/rypm429574 as a starting point.
Sorry, something went wrong.
as far as i can tell, we've done our part in the code. inputProps is passed to the InputGroup as expected, and zIndex is not overridden.
inputProps
InputGroup
zIndex
need more information to make any progress here.
try this link: https://codesandbox.io/s/ov6v8rr05
If you look at the code, I pass 'tabIndex' to 3 input fields, 2 InputGroup and 1 DateInput the tab order should be:
oh snap it is definitely not emitting the tabIndex in the DateInput. nice find.
tabIndex
Successfully merging a pull request may close this issue.
Environment
Steps to reproduce
Click in the text field, and press the tab key
Actual behavior
Cursor moves to some seemingly random control on the page
Expected behavior
Cursor moves to the date input
Possible solution
Allow inputProps to pass all property values to the tag in DateInput
-or-
update examples to show how inputProps should be used
The text was updated successfully, but these errors were encountered: