Skip to content
This repository was archived by the owner on Apr 30, 2018. It is now read-only.
This repository was archived by the owner on Apr 30, 2018. It is now read-only.

Cascaded options removed when using hideExpressions #746

Open

Description

@lexhartman

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/

Activity

  1. egucciar commented on Sep 20, 2017

    @egucciar

    Were you able to make progress on this?

  2. self-assigned this
    on Sep 20, 2017
  3. lexhartman commented on Sep 20, 2017

    @lexhartman
    Author

    Unfortunately no. I put it aside for the time being while i'm focussing on other things in my 'project'.

  4. egucciar commented on Sep 20, 2017

    @egucciar

    Since I might need this functionality as well, I'll keep this in mind and look for potential solutions

  5. lexhartman commented on Sep 22, 2017

    @lexhartman
    Author

    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')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions