1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

Angular material select not disabled on page load

Discussão em 'Angular' iniciado por Mad Eddie, Setembro 14, 2024.

  1. Mad Eddie

    Mad Eddie Guest

    I am trying to display a parent and child select lists in Angular 18 and Angular material 18.

    I would like the initial parent to have "Show all" selected which then disables the child select list. Should the parent value be changed - the child select list should become enabled. It seems that when using the [disabled] input on the child - it isn't triggered on load but does work if "Show all" is subsequently selected after making changes.

    Any ideas - I have made this stackblitz which shows the problem.

    https://stackblitz.com/edit/4wkc6t

    Continue reading...

Compartilhe esta Página