Closed weeger closed 9 years ago
First, you should do
orion.dictionary.update(orion.dictionary.findOne()._id, {
$set: {
'home.sentences': [
"Yow",
"Hey",
"Wah",
"Ugh"
]
}
});
to avoid replacing all the home category.
That problem is with autoform, Orion uses autoform to render forms.
Okay,
Thanks !
First congratulation for these really cool packages.
I create a dict :
orion.dictionary.addDefinition('sentences', 'home', { type: [String], label: 'Blah...' });
Then I fill it manually when my website is initialized :
Then I go to my admin interface, remove the first item of the list, and save. The first item is not deleted, I mean because the [0] index of the array is kept is not reordered.
Regards