mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[FIX] component: updateProps: validation and default values
Before this rev., default values weren't taken into account when validating props whenever a component was updated. Moreover, there was no test attesting that props were validated at update.
This commit is contained in:
@@ -20,7 +20,6 @@ exports[`props validation props are validated in dev mode (code snapshot) 1`] =
|
||||
w3 = false;
|
||||
}
|
||||
if (w3) {
|
||||
utils.validateProps(w3.constructor, props3)
|
||||
w3.__updateProps(props3, extra.fiber, undefined, undefined, sibling);
|
||||
let pvnode = w3.__owl__.pvnode;
|
||||
c1.push(pvnode);
|
||||
|
||||
Reference in New Issue
Block a user