resolveProp : compare cached id when checking undefined

This commit is contained in:
Tintamar 2018-10-28 16:55:29 +01:00 • committed by GitHub
parent c122ba27cc
commit 58373e924d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -494,7 +494,7 @@ class Widget extends EventEmitter {
if (widgets[i].props[k] !== undefined || k === 'value') {
if (k !== 'value' && originalPropName == k && widgets[i].props.id == originalWidget.props.id) {
if (k !== 'value' && originalPropName == k && widgets[i].cachedProps.id == originalWidget.cachedProps.id) {
return undefined
}