Skip to content

Fix invalid HTML in multi-select component#85

Merged
codemacabre merged 2 commits into
mainfrom
ml/valid-multi-select
Apr 2, 2026
Merged

Fix invalid HTML in multi-select component#85
codemacabre merged 2 commits into
mainfrom
ml/valid-multi-select

Conversation

@codemacabre
Copy link
Copy Markdown
Collaborator

The existing multi-select component was failing HTML validation due to the following reasons:

  1. The attribute name is only allowed on certain elements
  2. option elements are only allowed as children to certain elements
image

This PR fixes both issues by:

  1. Renaming name to field-name
  2. Replacing option elements with select-option custom elements

@codemacabre codemacabre requested a review from a team March 27, 2026 09:27
@codemacabre codemacabre self-assigned this Mar 27, 2026
@codemacabre codemacabre merged commit dd31908 into main Apr 2, 2026
3 checks passed
@codemacabre codemacabre deleted the ml/valid-multi-select branch April 2, 2026 07:37
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 2, 2026

🎉 This PR is included in version 4.7.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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants