screw123 / chassis2

0 stars 0 forks source link

Add foreignList to type of fields #29

Closed screw123 closed 7 years ago

screw123 commented 7 years ago

Trying to make it work in DocLoad1, but the field does not show up.

Another issue is to load the lookup list in parent component, but it pass to DocLoad1 as a promise.

Next to try setup a mobx store in parent, and use the reactivity to re-render DocLoad1 when promise resolve.

screw123 commented 7 years ago

Found the reason why fieldRenderer receive empty array, because changeDoc constantly reset it to empty. Fixed.

Next to find out why foreignList does not render

screw123 commented 7 years ago

ForeignList worked. Next: if lookupList not available, generate TextField instead

screw123 commented 7 years ago

Fixed.