Skip to content

Remove the invalid required attribute from <wa-slider>#2156

Open
claviska wants to merge 1 commit intonextfrom
slider-not-required
Open

Remove the invalid required attribute from <wa-slider>#2156
claviska wants to merge 1 commit intonextfrom
slider-not-required

Conversation

@claviska
Copy link
Member

Fixes #1471

The required attribute is not a valid constraint for <input type="range"> and we were erroneously trying to support it. Sliders, by nature, only support custom validity set by the user. There is no "required" state defined in the spec.

@claviska claviska self-assigned this Mar 12, 2026
@claviska claviska added the bug Something isn't working label Mar 12, 2026
@claviska claviska requested a review from KonnorRogers March 12, 2026 18:06
@vercel
Copy link

vercel bot commented Mar 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
webawesome Ready Ready Preview Mar 12, 2026 6:06pm

Request Review

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.

Slider's constraint validation isn't working

1 participant