Skip to content

Commit

Permalink
fix(SfSelect): disabled state attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
jagoral committed Aug 7, 2023
1 parent 564ce82 commit 1667e4f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changeset/wise-bananas-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@storefront-ui/react': patch
'@storefront-ui/vue': patch
---

Remove redundant `selected` attribute from `SfSelect` placeholder
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ export default function SfSelect(props: SfSelectProps) {
{placeholder && (
<option
disabled
selected
hidden
value=""
className={classNames('bg-neutral-300 text-sm', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ const modelProxy = computed({
<option
v-if="placeholder"
disabled
selected
hidden
class="text-sm bg-neutral-300"
value=""
Expand Down

0 comments on commit 1667e4f

Please sign in to comment.