Skip to content
Snippets Groups Projects
Commit b18ec88c authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fix positioning issue with vue select in jquery dialog and remove debug, fixes #5191

Closes #5191

Merge request !3887
parent e880d402
No related branches found
No related tags found
2 merge requests!4241Draft: Resolve "Im fromSORM fehlt Eingabename des `templates/forms/wysiwyg_input.php`",!3887fix positioning issue with vue select in jquery dialog and remove debug, fixes #5191
Pipeline #31087 passed
......@@ -357,6 +357,9 @@ Dialog.show = function(content, options = {}) {
width: instance.dimensions.width,
height: instance.dimensions.height,
dialogClass: Dialog.getClasses(options),
classes: {
'ui-dialog-content': 'studip-dialog-content',
},
buttons: options.buttons || {},
title: options.title,
modal: true,
......
......@@ -2,7 +2,7 @@
<v-select ref="select"
v-bind="{...$props, ...$attrs}"
:model-value="modelValue"
@update:modelValue="value => $emit('update:modelValue', value)"
@update:modelValue="value => updateValue(value)"
:calculate-position="withPopper"
class="studip-v-select"
append-to-body
......@@ -34,7 +34,6 @@ export default {
},
methods: {
updateValue(val) {
console.log('Updating value', val);
this.$emit('update:modelValue', val)
},
withPopper(dropdownList, component, { width }) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment