kc-dropdown.html 542 B

123456789101112
  1. <div class="dropdown">
  2. <button class="btn btn-default dropdown-toggle" type="button" id="{{id}}" data-toggle="dropdown">
  3. <span ng-show="kcModel">{{kcModel}}</span>
  4. <span ng-hide="kcModel" class="control-label">{{kcPlaceholder}}</span>
  5. <span class="caret"></span>
  6. </button>
  7. <ul class="dropdown-menu" role="menu">
  8. <li role="presentation" ng-repeat="option in kcOptions">
  9. <a href="" role="menuitem" tabindex="-1" ng-click="updateModel(option)">{{option}}</a>
  10. </li>
  11. </ul>
  12. </div>