簡體   English   中英

ui-select-choice 上的 ui-select-header-group-selectable 指令不起作用

[英]ui-select-header-group-selectable directive on ui-select-choice does not work

ui-select-header-group-selectable ui-select-choices ui-select-header-group-selectable使標題可點擊,因此您可以選擇組中的所有項目。

我是對還是錯?

我為我的項目編輯了 select.js。 我沒有保留真正的復選框,而是使用字形。

示例截圖

https://github.com/maheshparlapalli/modified-ui-select-js-for-group-wise-check-boxes

在 select.js 中搜索 'toggleAllGroupSelected',這是新添加的功能。

您會在多個地方找到“toggleAllGroupSelected”的用法。 將此代碼添加到您的 select.js

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM