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

Fix setting trailingButtonLabel for PasswordField #3710

Merged
merged 1 commit into from
Feb 2, 2023

Conversation

raimund-schluessler
Copy link
Contributor

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

This fixes setting the trailingButtonLabel (which is the aria-label of the trailing button in the NcInputField component) from the NcPasswordField so that the password toggle button gets the correct label.

This also fixes the You need to fill either the text or the ariaLabel props in the button component. warning currently visible in the docs when looking at the NcPasswordField component.

@raimund-schluessler raimund-schluessler added this to the 7.6.0 milestone Feb 1, 2023
@raimund-schluessler raimund-schluessler added bug Something isn't working 3. to review Waiting for reviews accessibility Making sure we design for the widest range of people possible, including those who have disabilities feature: input-field Covering the InputField, TextField, ... labels Feb 1, 2023
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 feature: input-field Covering the InputField, TextField, ...
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants