Skip to content

Commit 0311c02

Browse files
committed
Upgrade Studio to KDS 3.0.0 (3/3)
Remove deprecated `value` prop in favor of the new `buttonValue` prop that's supposed to replace it in `KRadioButton`.
1 parent a4303ed commit 0311c02

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

contentcuration/contentcuration/frontend/settings/pages/Storage/RequestForm.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
v-for="affiliation in affiliationOptions"
143143
:key="affiliation.value"
144144
v-model="org_or_personal"
145-
:value="affiliation.value"
145+
:buttonValue="affiliation.value"
146146
:invalid="errors.org_or_personal"
147147
:showInvalidText="errors.org_or_personal"
148148
:invalidText="$tr('fieldRequiredText')"
@@ -172,7 +172,7 @@
172172
v-for="orgType in organizationTypeOptions"
173173
:key="orgType.value"
174174
v-model="organization_type"
175-
:value="orgType.value"
175+
:buttonValue="orgType.value"
176176
:invalid="errors.organization_type"
177177
:showInvalidText="errors.organization_type"
178178
:invalidText="$tr('fieldRequiredText')"
@@ -199,7 +199,7 @@
199199
v-for="constraint in timeConstraintOptions"
200200
:key="constraint.value"
201201
v-model="time_constraint"
202-
:value="constraint.value"
202+
:buttonValue="constraint.value"
203203
:label="constraint.text"
204204
/>
205205

contentcuration/contentcuration/frontend/shared/languageSwitcher/LanguageSwitcherModal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
v-for="language in languageCol"
2020
:key="language.id"
2121
v-model="selectedLanguage"
22-
:value="language.id"
22+
:buttonValue="language.id"
2323
:label="language.lang_name"
2424
:title="language.english_name"
2525
class="language-name"

0 commit comments

Comments
 (0)