Call 2 functions within onChange event

后端 未结 3 487
忘了有多久
忘了有多久 2021-01-31 03:50

I\'m a bit stuck with my component, I need to call onChange from props so


         


        
3条回答
  •  终归单人心
    2021-01-31 04:17

    If you want inline solution, you can do something like this:

     
    

    Difference between onInput and onChage is here:

    Difference between "change" and "input" event for an `input` element

提交回复
热议问题