Skip to content

Commit

Permalink
fix: hidden input in dropdown-select fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
tshimber committed Oct 28, 2024
1 parent e0ff157 commit c20ed8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,9 @@ export class DropdownSelect {
}

updateInputHidden(value: string = this.value): void {
if (!this.hiddenInput) {
return;
}
this.hiddenInput.value = value;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/html/dropdown-select.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</style>
</head>

<body data-mode="dark" style="height: 200vh; background: black">
<body style="height: 200vh">
<scale-dropdown-select
label="Favorite person"
id="person-select"
Expand Down

0 comments on commit c20ed8d

Please sign in to comment.