【发布时间】:2016-09-22 23:00:08
【问题描述】:
我在 angularjs 应用程序中使用 ui-select2,我想使用动态占位符文本,当我尝试使用以下代码时,
<input id="listcategories" type="hidden" data-placeholder= '{{model.placeholderText}}' data-ui-select2="{multiple: false, width:'100%'}" data-model="model" data-ng-model="model.value" data-ng-disabled="model.readOnly" />
如下图所示。
谁能帮我为 ui-select2 使用动态占位符。
提前致谢。
【问题讨论】:
标签: angularjs interpolation placeholder ui-select2