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,8 +62,10 @@ export function useFormInput (props, context, formPrefixKey = null) {
watch( watch(
() => props.modelValue, () => props.modelValue,
(newValue) => { (newValue) => {
if (content.value !== newValue){
content.value = newValue content.value = newValue
} }
}
) )
return { return {