We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b4f0a6 commit 378c2e1Copy full SHA for 378c2e1
packages/lib/vue3/vue3-form-ant/src/config/widgets/WIDGET_MAP.js
@@ -36,11 +36,16 @@ export default {
36
maxWidth: '180px'
37
}
38
}, {
39
- addonAfter: () => h(InputWidget, {
+ addonAfter: () => h('input', {
40
disabled: attrs.disabled,
41
readonly: attrs.readonly,
42
- moduleValue: attrs.moduleValue,
43
- 'onUpdate:modelValue': attrs['onUpdate:modelValue'],
+ value: attrs.modelValue,
+ onInput(e) {
44
+ attrs['onUpdate:modelValue'](e.target.value);
45
+ },
46
+ onChange(e) {
47
48
49
type: 'color',
50
style: {
51
padding: '0',
0 commit comments