angular-ui-select

    1热度

    1回答

    我需要在ui-select中添加两个选项,而不是使用repeat和数组,我认为如果代码在<ui-select-choices>(请参见下面的示例)中标记,则代码更清晰。但它不起作用,如果这是可能的任何想法? <ui-select ng-model="formula.value"> <ui-select-match> <span ng-bind="$select.sele

    1热度

    1回答

    我有一种情况,要选择的文本太长,并且不适合列表宽度或选定字段。所以至少我需要使用标题属性跨度将鼠标悬停在全名上。 我尝试这样做: <ui-select ng-model="f.fieldb.value"> <ui-select-match> <span ng-bind="$select.selected.nm" title="$select.selected.nm"></s

    1热度

    1回答

    In this plunk我有一个包含名称的列表的ui-选择。我需要允许用户输入列表中的名称或不在列表中的名称。 如果我尝试输入一个不在列表中的名称,则ui-select将自动使用列表中最接近的值重新计算该值。 有没有办法让一个值不在列表中? HTML <ui-select ng-model="ctrl.person.selected" theme="bootstrap"> <ui-

    0热度

    1回答

    你好我实现UI,选择多个自动完成角度指令。与角度版本1.2.18它工作正常,但是当我使用角1.5.5获得一个错误,如: 无法获取未定义或空引用的属性“长度”在ctrl.getplaceholder 我的Html代码是: <ui-select multiple tagging="tagTransform" tagging-tokens="SPACE|,|/" ng-model="demo.selec

    4热度

    2回答

    我在引导模态窗口中使用了angular-ui-select以及1500个项目的列表。 用户所做的每个动作都有2秒的延迟。 我试图通过使用'最小输入长度'来提高性能,但过滤器不起作用。 Plunkr例如: https://plnkr.co/edit/H0kbeR4kHfZFjsBnpjBC?p=preview 我的HTML: <ui-select multiple sortable="true" n

    1热度

    2回答

    我正在为我正在使用的网站使用https://github.com/angular-ui/ui-select。目前的代码如下: <ui-select ng-model="model.states"> <ui-select-match placeholder="State"> {{$item.Name}} </ui-select-match> <ui

    1热度

    1回答

    我有一个对象作为 { key1: value1, key2: value2 } 在ui-select-choices怎么会重复呢?我尝试了一些东西,但没有什么工作作为 <ui-select ng-model="selectedChoice" theme="select2"> <ui-select-match placeholder="{{'select_prod

    2热度

    3回答

    我使用的是角度ui.select,并且在将所选值绑定到模型时遇到了问题。我正在尝试使用ui.select ng-model="data"来设置对象的变量。但出于某种原因,它不会选定的值不会绑定到模型上。这是我使用的代码: <ui-select ng-model="data" ng-disabled="disabled" theme='select2' style="min-width: 300px

    0热度

    1回答

    我正在用ui-select选择多个项目。当我点击我想要打开的其中一个选定项目时modal window。我在ui-select-match元素中作为ng-click函数实现它。 <ui-select id="myselect" ng-model="myvar" theme="bootstrap" ng-required="true" multiple="" search-enabled="true

    1热度

    2回答

    我使用的UI选择(0.18.1版本)的插件(在单一选择模式) 参考:https://github.com/angular-ui/ui-select 我喜欢的UI和功能非常多,因为我们可以从我们绑定到该控件的选项列表中搜索我们需要的选项。 现在我的需要是我需要这个UI选择控件作为ComboBox工作,即如果搜索到的项目没有在项目列表中找到,然后按'ENTER'键应该将项目添加到我们的基本项目列表和它