fix combobox update

This commit is contained in:
Jordan Blasenhauer 2024-07-15 16:48:24 +02:00
parent 3c38278f3a
commit b3d1dbfa44
2 changed files with 9 additions and 3 deletions

View file

@ -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();

View file

@ -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: "",