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

Remove min and max attributes from text type inputs #3161

Merged
merged 5 commits into from
Apr 29, 2024

Conversation

rmccar
Copy link
Contributor

@rmccar rmccar commented Apr 25, 2024

What is the context of this PR?

Fixes: #3160

This PR removes the min and max HTML attributes from any inputs that have the type attribute set to "text". These attributes are for use with inputs with the type attribute set to "number".

I have also updated an id in one of the tests to better fit the type of content in the test.

How to review this PR

Check there are no longer any instances of min and max attributes being set on text type inputs.

Checklist

This needs to be completed by the person raising the PR.

  • I have selected the correct Assignee
  • I have linked the correct Issue

@rmccar rmccar added the Bug Something isn't working label Apr 25, 2024
@rmccar rmccar requested a review from a team April 25, 2024 14:39
@rmccar rmccar self-assigned this Apr 25, 2024
Copy link

netlify bot commented Apr 25, 2024

Deploy Preview for ons-design-system-preview ready!

Name Link
🔨 Latest commit b1cebc9
🔍 Latest deploy log https://app.netlify.com/sites/ons-design-system-preview/deploys/662a6b176c1b0f0008dcdac4
😎 Deploy Preview https://deploy-preview-3161--ons-design-system-preview.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 configuration.

Copy link

netlify bot commented Apr 25, 2024

Deploy Preview for ons-design-system-preview ready!

Name Link
🔨 Latest commit 2f42e28
🔍 Latest deploy log https://app.netlify.com/sites/ons-design-system-preview/deploys/662b9e43233c4e00080b992e
😎 Deploy Preview https://deploy-preview-3161--ons-design-system-preview.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 configuration.

@rmccar rmccar merged commit 1ce2300 into main Apr 29, 2024
9 checks passed
@rmccar rmccar deleted the remove-min-max-attributes-from-text-type-inputs branch April 29, 2024 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove min and max HTML attributes for inputs with type set to "text"
3 participants