Skip to content

Commit

Permalink
feat: better dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
bolinocroustibat committed Dec 2, 2024
1 parent 20d8a30 commit 2509ec2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/SidebarComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<h2>Filters</h2>
<div v-if="loading" class="loading">Chargement...</div>
<div v-else>
<label for="natureCultureSelect">Choisir une nature de la culture</label>
<select id="natureCultureSelect" v-model="selectedNatureCulture">
<option disabled value="">{{ "Choisir une nature de la culture" }}</option>
<option v-for="(value, key) in natureCultureOptions" :key="key" :value="key">
{{ value }}
</option>
Expand All @@ -22,7 +22,7 @@ export default defineComponent({
data() {
return {
loading: true,
selectedNatureCulture: null,
selectedNatureCulture: "",
natureCultureOptions: NatureCulture,
};
},
Expand Down

0 comments on commit 2509ec2

Please sign in to comment.