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

Allow to add class to native datepicker input #3806

Merged
merged 1 commit into from Feb 22, 2023

Conversation

raimund-schluessler
Copy link
Contributor

@raimund-schluessler raimund-schluessler commented Feb 21, 2023

This adds the inputClass prop to the NcDateTimePickerNative component. This is necessary so the input field gets correctly focused when the datepicker is used in the NcActionInput component. With this PR, the datepicker gets the focus when you use the keyboard to navigate through the actions. Before, there was no way of focusing the datepicker with the keyboard only.

@raimund-schluessler raimund-schluessler added enhancement New feature or request 3. to review Waiting for reviews feature: datepicker Related to the date/time picker component feature: actions Related to the actions components accessibility Making sure we design for the widest range of people possible, including those who have disabilities labels Feb 21, 2023
@raimund-schluessler raimund-schluessler added this to the 7.7.0 milestone Feb 21, 2023
@raimund-schluessler raimund-schluessler added the bug Something isn't working label Feb 21, 2023
@raimund-schluessler raimund-schluessler marked this pull request as ready for review February 21, 2023 21:30
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
@raimund-schluessler raimund-schluessler force-pushed the fix/noid/native-datepicker-input-class branch from 9aa0e0e to 6d7dd57 Compare February 22, 2023 07:19
@raimund-schluessler raimund-schluessler merged commit 7ac495d into master Feb 22, 2023
@raimund-schluessler raimund-schluessler deleted the fix/noid/native-datepicker-input-class branch February 22, 2023 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews accessibility Making sure we design for the widest range of people possible, including those who have disabilities bug Something isn't working enhancement New feature or request feature: actions Related to the actions components feature: datepicker Related to the date/time picker component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants