打开searchableSelect.js文件,找到selectItem函数,在这个方法中加入触发事件的代码,如图

searchableSelect不支持change事件的解决方法

this.element.trigger('change'); 

在函数中加上这个代码就可以了

 

 

相关文章:

  • 2022-01-12
  • 2022-01-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-22
  • 2022-12-23
  • 2022-01-31
  • 2022-02-25
  • 2022-01-11
相关资源
相似解决方案