fix useFormInput watcher

This commit is contained in:
Forms Dev 2023-11-29 09:02:21 +05:30
parent 54918354ea
commit 9d7b8d9f7f
1 changed files with 3 additions and 1 deletions

View File

@ -62,7 +62,9 @@ export function useFormInput (props, context, formPrefixKey = null) {
watch( watch(
() => props.modelValue, () => props.modelValue,
(newValue) => { (newValue) => {
content.value = newValue if (content.value !== newValue){
content.value = newValue
}
} }
) )