Skip to content

Commit

Permalink
docs(ComponentCard): prevent label prop as select (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
eduayme authored and Haythamasalama committed Sep 14, 2023
1 parent a6baa9a commit 59b564a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/components/content/ComponentCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class="justify-center"
/>
<USelectMenu
v-else-if="prop.options.length && prop.name !== 'label'"
v-else-if="prop.type === 'string' && prop.options.length && prop.name !== 'label'"
v-model="componentProps[prop.name]"
:options="prop.options"
:name="`prop-${prop.name}`"
Expand Down

0 comments on commit 59b564a

Please sign in to comment.