Angularjs radio buttons

后端 未结 2 1209
余生分开走
余生分开走 2020-12-14 15:19

I know that this has been spoken about in some Google Threads but I still can\'t find the right solution to bind my radio inputs to a model (in clean\'n simple manner),

2条回答
  •  感动是毒
    2020-12-14 16:01

    I think you should use same variable with different values in those two radio buttons.

    
    
    

    Then, you should have searchBy set either "Rma" or "Delivery" depending on user input.

提交回复
热议问题