docs(ComponentCard): prevent label prop as select (#568)

This commit is contained in:
Eduard Aymerich
2023-08-28 15:10:17 +02:00
committed by Benjamin Canac
parent b901222c4b
commit 11980a3c9c
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
class="justify-center"
/>
<USelectMenu
v-else-if="prop.type === 'string' && prop.options.length"
v-else-if="prop.type === 'string' && prop.options.length && prop.name !== 'label'"
v-model="componentProps[prop.name]"
:options="prop.options"
:name="`prop-${prop.name}`"