You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
/**
* Watch for value changed by date-picker itself and notify parent component
*
* @param event
*/
onInput(event) {
// Lets wait for DOM to be updated
this.$nextTick(() => {
event.target && this.$emit('input', event.target.value);
});
},
Can be solved by checking for target is assigned
Minimal reproduction of the problem with instructions
Error when setting value on component.
The text was updated successfully, but these errors were encountered:
The bug seems to happen when the component is used in a vue app that is wrapped inside a webcomponent. A pull request to fix the issue has been provided and linked.
I'm submitting a ... (check one with "x")
Tell about your platform
Current behavior
Get this error in console:
[Vue warn]: Error in nextTick: "TypeError: Cannot read property 'value' of null"
stacktrace:
Expected behavior
/**
* Watch for value changed by date-picker itself and notify parent component
*
* @param event
*/
onInput(event) {
// Lets wait for DOM to be updated
this.$nextTick(() => {
event.target && this.$emit('input', event.target.value);
});
},
Can be solved by checking for target is assigned
Minimal reproduction of the problem with instructions
Error when setting value on component.
The text was updated successfully, but these errors were encountered: