のUI選択にテキストを入力することはできません。は、私は1つのUI選択、次のように持ってangularjs 1.5.8
<ui-select multiple ng-disabled="!report.scenario" ng-model="report.students">
<ui-select-match placeholder="">{{$item.id}}</ui-select-match>
<ui-select-choices repeat="{id: student.id} as student in CMP_PASSENGER_MASTER | filter: $select.search" refresh="refreshPassengers($select.search)" refresh-delay="300" reset-search-input="false">
<div>{{student.fullName}}</div>
<small>ID: {{student.id}}</small>
</ui-select-choices>
</ui-select>
私が持っている問題は、私は上の任意のテキストを入力することができないということですこのui-selectにマップされる入力。私はテキストを貼り付ける(を右クリック - >を貼り付け)場合のみ動作CTRL + Vを、しかし、いずれかの動作しません。 ui-selectディレクティブのある時点でキーダウンイベントが防止されているようです。
これらは私の亭の依存関係です:
"dependencies": {
"angular": "^1.5.8",
"bootstrap": "^3.3.7",
"angular-cookies": "^1.4.0",
"angular-resource": "^1.4.0",
"angular-route": "^1.4.0",
"angular-sanitize": "^1.4.0",
"angular-touch": "^1.4.0",
"underscore": "^1.8.3",
"angular-ui-select": "^0.19.4",
"angular-bootstrap": "^2.2.0",
"angular-bootstrap-switch": "^0.5.1",
"angular-ui-switch": "^0.1.1",
"angular-xeditable": "^0.4.0",
"angularUtils-pagination": "angular-utils-pagination#^0.11.1",
"angular-confirm-modal": "^1.2.6"
},
任意の助けをいただければ幸いです。
こんにちは、ええ、あなたが正しいです。私はui-selectに移動しましたが、まだ動作していません。 – raven
プランナーを共有できますか?また、バージョン19.5を試しましたか? – Jefiozie
プランクターでは私はそれを再現できません。これはバグです:https://github.com/angular-ui/ui-select/commit/0d81493 – raven