有什么办法在选择前先判断是否确定修改,如果是才开始显示下拉,否者不显示
select2:opening
前如果用 event.preventDefault()
阻止,弹出对话框确定后没法打开
select2:selecting is fired before this and can be prevented
https://select2.github.io/examples.html#programmatic-control
有什么办法在选择前先判断是否确定修改,如果是才开始显示下拉,否者不显示
select2:opening
前如果用 event.preventDefault()
阻止,弹出对话框确定后没法打开
select2:selecting is fired before this and can be prevented
https://select2.github.io/examples.html#programmatic-control