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(TextInput): make label and clearAriaLabel required and provide options for autoComplete prop #708

Conversation

dominiccarrington
Copy link
Collaborator

@dominiccarrington dominiccarrington commented Nov 22, 2024

Description

This PR adds the following:

@dominiccarrington dominiccarrington added the validated If the pull request is validated automation. label Nov 22, 2024
src/components/TextInput/TextInput.types.ts Outdated Show resolved Hide resolved
src/components/ComboBox/ComboBox.tsx Outdated Show resolved Hide resolved
| 'tel-extension'
| 'email'
| 'impp'
| (string & Record<never, never>);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to prevent type overreach.

If it was just string, we wouldn't get any autocomplete help since all the above would be merged into just string.

@dominiccarrington dominiccarrington merged commit 16e040f into momentum-design:master Nov 29, 2024
5 checks passed
Copy link

🎉 This PR is included in version 26.180.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released validated If the pull request is validated automation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants