Bugfix in dropdown selectors
This commit is contained in:
parent
cd9f82f95c
commit
ee7e3ba61e
|
@ -114,11 +114,12 @@ print $OUTPUT->header();
|
||||||
<a href='#' v-if='displayedstudyplan' @click.prevent='closeStudyplan'
|
<a href='#' v-if='displayedstudyplan' @click.prevent='closeStudyplan'
|
||||||
><i style='font-size: 150%;' class='fa fa-chevron-left'></i> <?php t('back');?></a>
|
><i style='font-size: 150%;' class='fa fa-chevron-left'></i> <?php t('back');?></a>
|
||||||
<span v-if='displayedstudyplan'><?php t("studyplan_select"); ?></span>
|
<span v-if='displayedstudyplan'><?php t("studyplan_select"); ?></span>
|
||||||
<b-form-select v-if='displayedstudyplan' lazy :text='dropdown_title'>
|
<b-form-select v-if='displayedstudyplan' lazy :text='dropdown_title' :value='displayedstudyplan.id'>
|
||||||
<b-form-select-option
|
<b-form-select-option
|
||||||
v-for='(studyplan, planindex) in studyplans'
|
v-for='(studyplan, planindex) in studyplans'
|
||||||
:key='studyplan.id'
|
:key='studyplan.id'
|
||||||
@click='selectStudyplan(studyplan)'
|
@click='selectStudyplan(studyplan)'
|
||||||
|
:value='studyplan.id'
|
||||||
>{{ studyplan.name }}</b-form-select-option>
|
>{{ studyplan.name }}</b-form-select-option>
|
||||||
</b-form-select>
|
</b-form-select>
|
||||||
<b-button variant='primary' v-if='associatedstudents && associatedstudents.length > 0' v-b-toggle.toolbox-sidebar
|
<b-button variant='primary' v-if='associatedstudents && associatedstudents.length > 0' v-b-toggle.toolbox-sidebar
|
||||||
|
|
Loading…
Reference in New Issue
Block a user