arco-design-vue icon indicating copy to clipboard operation
arco-design-vue copied to clipboard

选择器 Select当a-option为false时不会正确的响应

Open pylist opened this issue 3 years ago • 4 comments

Basic Info

  • Package Name And Version: @arco-design/[email protected]
  • Browser: chrome100.0.4896.88
  • Reproduction Link: https://codesandbox.io/embed/cranky-wood-eigcw9?fontsize=14&hidenavigation=1&theme=dark

What is expected?

选择不了 否

pylist avatar Apr 24 '22 09:04 pylist

@pylist 你好,select 是不支持 Boolean 值,仅支持 String 或 Number

hehehai avatar Apr 24 '22 10:04 hehehai

@hehehai 这样很不方便吧! 后面会打算支持么, 我看element ui框架是支持的

pylist avatar Apr 24 '22 10:04 pylist

@pylist 后面会优化一下,增加 boolean 和 空值 的支持

flsion avatar Apr 25 '22 03:04 flsion

@pylist 后面会优化一下,增加 boolean 和 空值 的支持

同求支持

thislyc avatar May 09 '22 12:05 thislyc

同上,以及支持清除时,设定特定值

sunyuanonly avatar Aug 17 '22 06:08 sunyuanonly

Invalid prop: type check failed for prop "value". Expected String | Number | Object, got Boolean with value true. 同理,但是官网文档里写了支持Boolean。请问一下为什么

JsweetA avatar Nov 01 '23 09:11 JsweetA

Invalid prop: type check failed for prop "value". Expected String | Number | Object, got Boolean with value true. 同理,但是官网文档里写了支持Boolean。请问一下为什么

@JsweetA 你好需要确保组件库版本 >=2.51.0,如还未解决可提供可复现链接。

oljc avatar Jan 18 '24 03:01 oljc