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