Antd - 多个选择框删除已选择的项目
我在列表中呈现了多个 antd 选择框。选项通过数组变量填充。如果我在一个选择框中选择了一个值,我不想将其呈现为其他选择框中的选项。我是否只需要为选项的每个选择框存储一个列表,或者是否有更简单的解决方案?
I have multiple antd select boxes rendered in a list. Options are populated via an array variable. If I have a value chosen in one select box I don't want to render it as an option in other select boxes. Do I just have to store a list for each select box for options or is there a simpler solution?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论