How to Get the Value Like First Drop Down Value Related to Another Drop Down Value using of Angular JS?

后端 未结 1 702
南旧
南旧 2020-12-22 12:09

How to get the value like first select drop down value related to another select drop down value using of angular js?

Hi all I have created two drop down field

1条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-22 12:20

    Kp Users categories
    Kp Users

    Look at the HTML of Plunker's filter. it uses

    filter:{roles: 'kp'}
    

    and

    filter:{ categories: filter.Filtercategorieskp.categories, roles:['kp']
    

    But you use ilter:flterWithKp

    If you want to filter with controller's method, you have to write two methods for two filter or you can use as like plunker.

    I have update the plunker. You can check it:

    Working plunker

    0 讨论(0)
提交回复
热议问题