fix: set internal defaults first

This commit is contained in:
cha0s 2024-08-03 11:34:57 -05:00
parent 4cb29e56cd
commit 097bf9505f

View File

@ -53,6 +53,7 @@ export default class Component {
for (const key of keys) {
const defaultValue = Schema.defaultValue(properties[key]);
if ('undefined' !== typeof defaultValue) {
instance[`$$${key}`] = defaultValue;
instance[key] = defaultValue;
}
}