Skip to content

Commit 9a17ec8

Browse files
author
Dipak Sarkar
committed
[Fix] Overridding the default config for multiple component
1 parent f0c461c commit 9a17ec8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/directive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const CONFIG_KEY = core.CONFIG_KEY
66
export default {
77
bind: (el, { value }, vnode) => {
88
el = core.getInputElement(el)
9-
const config = core.normalizeConfig(value, value)
9+
const config = core.normalizeConfig(defaults, value)
1010
el[CONFIG_KEY] = { config }
1111
// set initial value
1212
core.updateValue(el, vnode, { force: config.prefill })

0 commit comments

Comments
 (0)