mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
fix combobox update
This commit is contained in:
parent
3c38278f3a
commit
b3d1dbfa44
2 changed files with 9 additions and 3 deletions
|
|
@ -42,9 +42,7 @@ import { v4 as uuidv4 } from "uuid";
|
|||
inpType: "input",
|
||||
},
|
||||
],
|
||||
@param {object} template - Template object with plugin and settings data.
|
||||
@param {string} containerClass - Container
|
||||
@param {object} columns - Columns object.
|
||||
h
|
||||
*/
|
||||
|
||||
const advancedForm = useAdvancedForm();
|
||||
|
|
|
|||
|
|
@ -152,6 +152,14 @@ const props = defineProps({
|
|||
},
|
||||
});
|
||||
|
||||
// Case we have another value set from the parent for any reason
|
||||
// (like a filter that removed some values or forced a value)
|
||||
watch(
|
||||
() => props.value,
|
||||
() => {
|
||||
select.value = props.value;
|
||||
}
|
||||
);
|
||||
const inp = reactive({
|
||||
id: "",
|
||||
value: "",
|
||||
|
|
|
|||
Loading…
Reference in a new issue