Closed thearabbit closed 8 years ago
I use dependant drop down list like this
'parent': { label: 'Parent', type: String, autoform: { ............... options: function() { return Parent.find({})....; // Parent "A" } } }, 'child': { label: 'Child', type: String, autoform: { ........... options: function() { var parent = AutoForm.getFieldValue('parent'); return Client.find({parentId: parent})..........; // Child of "A": [Child 1, Child 2,Child 3] } } }
It work fine on insert form.
But it don't work on update form. It mean that when I change to parent "A", it can't get child [1, 2, 3]. Please help me.
Now, it work fine.
I use dependant drop down list like this
It work fine on insert form.
It mean that when I change to parent "A", it get child [1, 2, 3].
But it don't work on update form. It mean that when I change to parent "A", it can't get child [1, 2, 3]. Please help me.