簡體   English   中英

假設我 select 第一個 select 選項它應該顯示第二個 select 選項的列表。 angular怎么辦?

[英]suppose I select the first select option it should show me the list of the second select option. How can I do it in angular?

假設我 select 第一個 select1 option1 它應該自動向我顯示 select 2 中的選項列表,當我 select select1 中的選項 2 時它應該向我顯示 select2 中的選項列表。 我怎樣才能在angular2中做到這一點?

支持圖片

請看這里: https://stackblitz.com/edit/angular-ivy-c8wsuc?file=src/app/app.component.ts如果這個解決方案不適合你,請放一些示例代碼並顯示你有問題。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM