-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hi, why does an object with nested fields is not updated when nested fields are changed ?
Consider the following schema:
var schema = {
size: {
type: Object
},
'size.value': {
type: Number
},
'size.unit': {
type: String,
allowedValues: ['cm', 'in']
}
};and the following template:
<template name="sizeInput">
<p>
value is {{reactiveValue.value}}
unit is {{reactiveValue.unit}}
<p>
{{> UI.contentBlock}}
</template>and I use it like so:
{{#sizeInput field="size"}}
{{>input field="size.value"}}
{{>select field="size.unit"}}
{{/sizeInput}}The sizeInput element is registered without validationEvent.
When I update the input and select value, the reactiveValue doesn't change.
Am I missing something ?
Metadata
Metadata
Assignees
Labels
No labels