选择选项超出显示范围

时间:2016-12-05 12:30:52

标签: javascript angularjs angularjs-directive angularjs-ng-repeat

我正在使用select标签来显示下拉列表。在选项标签我正在做ng-repeat。如果在ng-repeat中,有一个长字符串假设maxlength=255,我怎么能分成几行。因为它溢出了屏幕。

screenshot

<div class="col-sm-5">
  <select id="alert" name="alert" ng-model="dropdownSelectedRegion" ng-change="regionSelected(dropdownSelectedRegion)" class="admin-select-btn sans-regular-11 disposition" required>
     <option value="">Select</option>
     <option value="{{region.id}}" ng-selected="dropdownSelectedRegion==region.id" ng-repeat='region in RegionList'>{{region.description | subStringFilter}}</option>
  </select>
</div> 

0 个答案:

没有答案