close #4679
@ -20,12 +20,13 @@ export function resolveOnChange(target, e, onChange) {
let event = e;
if (e.type === 'click') {
// click clear icon
//event = Object.create(e);
Object.defineProperty(event, 'target', {
writable: true,
});
Object.defineProperty(event, 'currentTarget', {
event = Object.create(e, {
target: {
},
currentTarget: {
event.target = target;
event.currentTarget = target;