fix(runtime-dom): allow force updating value bindings for controlled inputs
fix #1471
This commit is contained in:
@@ -10,7 +10,7 @@ import {
|
||||
RootHydrateFunction
|
||||
} from '@vue/runtime-core'
|
||||
import { nodeOps } from './nodeOps'
|
||||
import { patchProp } from './patchProp'
|
||||
import { patchProp, forcePatchProp } from './patchProp'
|
||||
// Importing from the compiler, will be tree-shaken in prod
|
||||
import { isFunction, isString, isHTMLTag, isSVGTag, extend } from '@vue/shared'
|
||||
|
||||
@@ -21,7 +21,7 @@ declare module '@vue/reactivity' {
|
||||
}
|
||||
}
|
||||
|
||||
const rendererOptions = extend({ patchProp }, nodeOps)
|
||||
const rendererOptions = extend({ patchProp, forcePatchProp }, nodeOps)
|
||||
|
||||
// lazy create the renderer - this makes core renderer logic tree-shakable
|
||||
// in case the user only imports reactivity utilities from Vue.
|
||||
|
||||
Reference in New Issue
Block a user