gpt4 book ai didi

javascript - 所选值未出现在 angular-ui-select 中

转载 作者:行者123 更新时间:2023-12-03 08:57:10 26 4
gpt4 key购买 nike

Angular 选择用户界面无法正常工作..

[http://plnkr.co/edit/CKHbiSQ4tZXTjOyxpyBK?p=preview][1]

选择列表无法正常工作。无法使用 option.text 和 option.value。

我想在所选中显示所选值,但我无法这样做。

最佳答案

在 Controller 中定义选项。它将解决问题。

$scope.option = {};

这是 plunker 链接: http://plnkr.co/edit/Z1oqz2r3Iq5khAF3GVI1?p=preview

关于javascript - 所选值未出现在 angular-ui-select 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32443694/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com