Open lexhartman opened 7 years ago
Were you able to make progress on this?
Unfortunately no. I put it aside for the time being while i'm focussing on other things in my 'project'.
Since I might need this functionality as well, I'll keep this in mind and look for potential solutions
I found a solution, but it's totally different approach but maybe you can use it for your own: http://plnkr.co/edit/3HWxKCswZVtvbV0Ucr6r?p=preview (works only with the options 'function' and 'department')
I am using Angular-Formly and i am using the example for the Cascaded-select on the website of Angular-Formly: http://angular-formly.com/#/example/other/cascaded-select
When hideExpression is used on 3rd field, the options in these fields (cascaded with the 2nd field) are removed. The only thing that's changed is that hideExpression is added on the 3rd field. Also, when the 1st and 2nd field are changed a few times, all the options are available in the 3rd field.
I also put this question on StackOverflow (https://stackoverflow.com/questions/45917938/angular-formly-cascaded-options-removed-when-using-hideexpressions?noredirect=1#comment78794372_45917938).
http://jsbin.com/huwohewoli/