diff --git a/antdv-demo b/antdv-demo
index 4a986352a..bf2888abe 160000
--- a/antdv-demo
+++ b/antdv-demo
@@ -1 +1 @@
-Subproject commit 4a986352a599904cfe895d0df1a8bb794e684645
+Subproject commit bf2888abeb14599693b4261c0ea81819af8cb869
diff --git a/components/_util/shallowequal.js b/components/_util/shallowequal.js
new file mode 100644
index 000000000..aa269ee75
--- /dev/null
+++ b/components/_util/shallowequal.js
@@ -0,0 +1,6 @@
+import shallowequal from 'shallowequal';
+import { toRaw } from 'vue';
+
+export default function(value, other, customizer, thisArg) {
+ return shallowequal(toRaw(value), toRaw(other), customizer, thisArg);
+}
diff --git a/components/input/Input.jsx b/components/input/Input.jsx
index b0d720c6d..fa8669df0 100644
--- a/components/input/Input.jsx
+++ b/components/input/Input.jsx
@@ -161,7 +161,7 @@ export default {
ref: this.saveInput,
key: 'ant-input',
onInput: handleChange,
- onChange: noop,
+ onChange: handleChange,
};
if (!inputProps.autofocus) {
delete inputProps.autofocus;
diff --git a/components/input/TextArea.jsx b/components/input/TextArea.jsx
index c9ac263d8..d85257ac7 100644
--- a/components/input/TextArea.jsx
+++ b/components/input/TextArea.jsx
@@ -106,6 +106,7 @@ export default {
...this.$attrs,
prefixCls,
onInput: this.handleChange,
+ onChange: this.handleChange,
onKeydown: this.handleKeyDown,
};
return ;
diff --git a/components/vc-calendar/src/date/DateInput.jsx b/components/vc-calendar/src/date/DateInput.jsx
index 21abe6d90..1342f322c 100644
--- a/components/vc-calendar/src/date/DateInput.jsx
+++ b/components/vc-calendar/src/date/DateInput.jsx
@@ -200,6 +200,7 @@ const DateInput = {
disabled={disabled}
placeholder={placeholder}
onInput={this.onInputChange}
+ onChange={this.onInputChange}
onKeydown={this.onKeyDown}
onFocus={this.onFocus}
onBlur={this.onBlur}
diff --git a/components/vc-pagination/Options.jsx b/components/vc-pagination/Options.jsx
index 316518735..7b2685409 100644
--- a/components/vc-pagination/Options.jsx
+++ b/components/vc-pagination/Options.jsx
@@ -136,15 +136,9 @@ export default {
type="text"
value={goInputText}
onInput={this.handleChange}
+ onChange={this.handleChange}
onKeyup={this.go}
onBlur={this.handleBlur}
- {...{
- directives: [
- {
- name: 'ant-input',
- },
- ],
- }}
/>
{locale.page}
{gotoButton}
diff --git a/components/vc-pagination/Pagination.jsx b/components/vc-pagination/Pagination.jsx
index 648bf39f5..51b9b7011 100644
--- a/components/vc-pagination/Pagination.jsx
+++ b/components/vc-pagination/Pagination.jsx
@@ -380,14 +380,8 @@ export default {
onKeydown={this.handleKeyDown}
onKeyup={this.handleKeyUp}
onInput={this.handleKeyUp}
+ onChange={this.handleKeyUp}
size="3"
- {...{
- directives: [
- {
- name: 'ant-input',
- },
- ],
- }}
/>
/
{allPages}
diff --git a/components/vc-time-picker/Header.jsx b/components/vc-time-picker/Header.jsx
index f8e511ff1..e57913ffc 100644
--- a/components/vc-time-picker/Header.jsx
+++ b/components/vc-time-picker/Header.jsx
@@ -169,6 +169,7 @@ const Header = {
value={str}
placeholder={placeholder}
onInput={this.onInputChange}
+ onChange={this.onInputChange}
readonly={!!inputReadOnly}
/>
);
diff --git a/components/vc-tree-select/src/SearchInput.jsx b/components/vc-tree-select/src/SearchInput.jsx
index c975cee25..3bffc8b1e 100644
--- a/components/vc-tree-select/src/SearchInput.jsx
+++ b/components/vc-tree-select/src/SearchInput.jsx
@@ -122,6 +122,7 @@ const SearchInput = {
type="text"
ref={this.inputRef}
onInput={handleInputChange}
+ onChange={handleInputChange}
onKeydown={onSearchInputKeyDown}
value={searchValue}
disabled={disabled}