Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion renderers/lit/src/0.8/ui/multiple-choice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export class MultipleChoice extends Root {
)}>
<label class=${classMap(
this.theme.components.MultipleChoice.label
)} for="data">${this.description ?? "Select an item"}</div>
)} for="data">${this.description ?? "Select an item"}</label>
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

While this change correctly fixes the unclosed HTML tag, the repository's style guide requires that code changes are accompanied by tests. Adding a test case, such as a snapshot test, would verify the component's HTML structure and help prevent similar issues in the future.

References
  1. The repository style guide specifies that code changes should have corresponding tests. (link)

<select
name="data"
id="data"
Expand Down
Loading