Skip to content

Commit 11b58a4

Browse files
committed
Revert "Add Vocabulary Select implementation instead of buefy select"
This reverts commit 6f09c17
1 parent 6f09c17 commit 11b58a4

File tree

3 files changed

+22
-97
lines changed

3 files changed

+22
-97
lines changed

src/App.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,11 @@ export default {
140140
@import "~bulma";
141141
@import '~buefy/src/scss/utils/_variables.scss';
142142
@import '~buefy/src/scss/components/_modal.scss';
143+
@import '~buefy/src/scss/components/_select.scss';
143144
@import '~buefy/src/scss/components/_form.scss';
144145
@import '~buefy/src/scss/components/_icon.scss';
145146
146-
@import "~@creativecommons/vocabulary/scss/vocabulary.scss";
147+
@import "@creativecommons/vocabulary/scss/vocabulary.scss";
147148
148149
#app {
149150
-webkit-font-smoothing: antialiased;

src/Vocabulary/VSelect.vue

Lines changed: 0 additions & 80 deletions
This file was deleted.

src/components/DropdownStep.vue

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,33 @@
11
<template>
22
<div class="step-actions">
3-
<v-select
4-
class="license-dropdown"
5-
:placeholder="$t('stepper.DD.placeholder')"
6-
:value="shortName"
7-
@input="setCurrentLicense"
8-
>
9-
<option
10-
v-for="license in licenseList"
11-
:key="license"
12-
:value="license"
3+
<b-field class="license-dropdown">
4+
<b-select
5+
:placeholder="this.$t('stepper.DD.placeholder')"
6+
:value="shortName"
7+
@input="setCurrentLicense"
138
>
14-
{{ license }}
15-
</option>
16-
</v-select>
9+
<option
10+
v-for="license in licenseList"
11+
:key="license"
12+
:value="license"
13+
>
14+
{{ license }}
15+
</option>
16+
</b-select>
17+
</b-field>
1718
</div>
1819
</template>
1920
<script>
2021
import { mapGetters } from 'vuex'
21-
import VSelect from '@/Vocabulary/VSelect'
2222
export default {
2323
name: 'DropdownStep',
24-
components: { VSelect },
25-
inheritAttrs: false,
2624
props: {
25+
status: {
26+
type: String,
27+
validator(value) {
28+
return ['active', 'previous', 'inactive'].includes(value)
29+
}
30+
},
2731
id: Number
2832
},
2933
data() {

0 commit comments

Comments
 (0)