diff --git a/resources/js/components/SMInput.vue b/resources/js/components/SMInput.vue index 2ed1a67..896eb43 100644 --- a/resources/js/components/SMInput.vue +++ b/resources/js/components/SMInput.vue @@ -301,6 +301,11 @@ const handleMediaSelect = async (event) => { if (result) { mediaUrl.value = result.url; emits("update:modelValue", result.id); + + if (objControl) { + objControl.value = result.id; + feedbackInvalid.value = ""; + } } };