Commit d9799fec by Netfan Committed by GitHub

fix: `search` take no effect in `icon-picker` with antd (#5592)

1 parent 4570d5b5
...@@ -125,7 +125,13 @@ async function initComponentAdapter() { ...@@ -125,7 +125,13 @@ async function initComponentAdapter() {
IconPicker: (props, { attrs, slots }) => { IconPicker: (props, { attrs, slots }) => {
return h( return h(
IconPicker, IconPicker,
{ iconSlot: 'addonAfter', inputComponent: Input, ...props, ...attrs }, {
iconSlot: 'addonAfter',
inputComponent: Input,
modelValueProp: 'value',
...props,
...attrs,
},
slots, slots,
); );
}, },
......
...@@ -126,7 +126,13 @@ async function initComponentAdapter() { ...@@ -126,7 +126,13 @@ async function initComponentAdapter() {
IconPicker: (props, { attrs, slots }) => { IconPicker: (props, { attrs, slots }) => {
return h( return h(
IconPicker, IconPicker,
{ iconSlot: 'addonAfter', inputComponent: Input, ...props, ...attrs }, {
iconSlot: 'addonAfter',
inputComponent: Input,
modelValueProp: 'value',
...props,
...attrs,
},
slots, slots,
); );
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!