diff --git a/resources/js/components/SMInput.vue b/resources/js/components/SMInput.vue index aa64273..5773b5c 100644 --- a/resources/js/components/SMInput.vue +++ b/resources/js/components/SMInput.vue @@ -183,7 +183,7 @@ if (objControl) { value.value = objControl.value; } - if (label.value.length == 0) { + if (label.value.length == 0 && typeof props.control == "string") { label.value = toTitleCase(props.control); }