Remove unnecessary placeholder

pull/4683/head
Tuğçe Küçükoğlu 2023-10-23 12:25:41 +03:00
parent be7642f446
commit c91d53e085
1 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@
</DocSectionText>
<div class="card flex justify-content-center">
<div class="p-float-label">
<Dropdown v-model="selectedCity" inputId="dd-city" :options="cities" optionLabel="name" placeholder="Select a City" class="w-full md:w-14rem" />
<Dropdown v-model="selectedCity" inputId="dd-city" :options="cities" optionLabel="name" class="w-full md:w-14rem" />
<label for="dd-city">Select a City</label>
</div>
</div>
@ -26,7 +26,7 @@ export default {
code: {
basic: `
<div class="p-float-label">
<Dropdown v-model="selectedCity" inputId="dd-city" :options="cities" optionLabel="name" placeholder="Select a City" class="w-full md:w-14rem" />
<Dropdown v-model="selectedCity" inputId="dd-city" :options="cities" optionLabel="name" class="w-full md:w-14rem" />
<label for="dd-city">Select a City</label>
</div>
`,
@ -34,7 +34,7 @@ export default {
<template>
<div class="card flex justify-content-center">
<div class="p-float-label">
<Dropdown v-model="selectedCity" inputId="dd-city" :options="cities" optionLabel="name" placeholder="Select a City" class="w-full md:w-14rem" />
<Dropdown v-model="selectedCity" inputId="dd-city" :options="cities" optionLabel="name" class="w-full md:w-14rem" />
<label for="dd-city">Select a City</label>
</div>
</div>
@ -61,7 +61,7 @@ export default {
<template>
<div class="card flex justify-content-center">
<div class="p-float-label">
<Dropdown v-model="selectedCity" inputId="dd-city" :options="cities" optionLabel="name" placeholder="Select a City" class="w-full md:w-14rem" />
<Dropdown v-model="selectedCity" inputId="dd-city" :options="cities" optionLabel="name" class="w-full md:w-14rem" />
<label for="dd-city">Select a City</label>
</div>
</div>