Commit 9a4b758b authored by 好多大米's avatar 好多大米 Committed by GitHub

Select: fix the bug when the value is Boolean (#21052)

parent 5ba0f1c2
......@@ -526,7 +526,7 @@
}
if (option) return option;
const label = (!isObject && !isNull && !isUndefined)
? value : '';
? String(value) : '';
let newOption = {
value: value,
currentLabel: label
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment