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(form): update useNormalizedInputProps to usePrefix #12317

Merged
merged 3 commits into from
Oct 19, 2022

Conversation

tw15egan
Copy link
Collaborator

Closes #12307

updates the useNormalizedInputProps to use the usePrefix hook instead of a hard-coded cds

Changelog

Changed

  • useNormalizedInputProps.js now uses the usePrefix hook

Testing / Reviewing

Change the prefix globally and ensure the invalid form wrapper (cds--form-requirement) prefix can be changed

@tw15egan tw15egan requested a review from a team as a code owner October 17, 2022 13:05
@netlify
Copy link

netlify bot commented Oct 17, 2022

Deploy Preview for carbon-components-react ready!

Name Link
🔨 Latest commit 66b2144
🔍 Latest deploy log https://app.netlify.com/sites/carbon-components-react/deploys/6350246875be5a000805e5de
😎 Deploy Preview https://deploy-preview-12317--carbon-components-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Oct 17, 2022

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit 66b2144
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/63502468b6be6400085fecea
😎 Deploy Preview https://deploy-preview-12317--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@kodiakhq kodiakhq bot merged commit 6a0cdf3 into carbon-design-system:main Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[Bug]: ClassPrefix component not overriding prefix in TextInput error field class "cds--form-requirement"
3 participants