Dropdown is not working

UI Components for Vue
Post Reply
burimavdiu
Posts: 1
Joined: 21 Aug 2023, 18:26

21 Aug 2023, 18:33

Hi to all,

I am new in VUE, I am using PrimeVue in my project and I think is great. Lately I try to use Dropdown but is not working.

<div class="card flex justify-content-center">
<Dropdown v-model="selectedCity" editable :options="cities" optionLabel="name" placeholder="Select a City" class="w-full md:w-14rem" />
</div>


selectedCity: null,
cities: [
{ name: "New York", code: "NY" },
{ name: "Rome", code: "RM" },
{ name: "London", code: "LDN" },
]

tugce.kucukoglu
Posts: 560
Joined: 23 Oct 2020, 09:28

22 Aug 2023, 16:03

Hi,

I cannot catch the issue. This demo could help. https://primevue.org/dropdown/#editable

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 14 guests