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 = {}) { ...@@ -357,6 +357,9 @@ Dialog.show = function(content, options = {}) {
width: instance.dimensions.width, width: instance.dimensions.width,
height: instance.dimensions.height, height: instance.dimensions.height,
dialogClass: Dialog.getClasses(options), dialogClass: Dialog.getClasses(options),
classes: {
'ui-dialog-content': 'studip-dialog-content',
},
buttons: options.buttons || {}, buttons: options.buttons || {},
title: options.title, title: options.title,
modal: true, modal: true,
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<v-select ref="select" <v-select ref="select"
v-bind="{...$props, ...$attrs}" v-bind="{...$props, ...$attrs}"
:model-value="modelValue" :model-value="modelValue"
@update:modelValue="value => $emit('update:modelValue', value)" @update:modelValue="value => updateValue(value)"
:calculate-position="withPopper" :calculate-position="withPopper"
class="studip-v-select" class="studip-v-select"
append-to-body append-to-body
...@@ -34,7 +34,6 @@ export default { ...@@ -34,7 +34,6 @@ export default {
}, },
methods: { methods: {
updateValue(val) { updateValue(val) {
console.log('Updating value', val);
this.$emit('update:modelValue', val) this.$emit('update:modelValue', val)
}, },
withPopper(dropdownList, component, { width }) { 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