Have typeahead.js output into multiple text boxes

前端 未结 3 1089
死守一世寂寞
死守一世寂寞 2021-01-03 12:33

I\'m working on an internal web form for my company I was trying to use typehead.js to load a name from a local array. I was able to do this without a problem, however the s

3条回答
  •  借酒劲吻你
    2021-01-03 13:09

    You can use typeahead event typeahead:selected even, which will be triggered when any option is selected and you can get what value is selected. Using this information you can set value for another text box.

提交回复
热议问题