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.
2 parents b461987 + 71e88e6 commit 9e87c99Copy full SHA for 9e87c99
src/scripts/DateInput.tsx
@@ -200,7 +200,9 @@ class DateInputInner extends Component<
200
}
201
202
onInputBlur(e: FocusEvent<HTMLInputElement | HTMLButtonElement>) {
203
- this.setValueFromInput(e.target.value);
+ if (e.target.tagName.toLowerCase() === 'input') {
204
+ this.setValueFromInput(e.target.value);
205
+ }
206
setTimeout(() => {
207
if (!this.isFocusedInComponent()) {
208
if (this.props.onBlur) {
0 commit comments