Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么 transparent 无效? #105

Closed
todo bot opened this issue Nov 15, 2019 · 1 comment
Closed

为什么 transparent 无效? #105

todo bot opened this issue Nov 15, 2019 · 1 comment
Assignees

Comments

@todo
Copy link

todo bot commented Nov 15, 2019

// TODO 为什么 transparent 无效?
default: '#ffffff',
editor: {
type: 'a-input', // lbs-color-picker
label: '背景颜色',
prop: {


This issue was generated by todo based on a TODO comment in 6de2447. It's been assigned to @ly525 because they committed the code.
@ly525
Copy link
Owner

ly525 commented Nov 30, 2019

注意,根据 MDN 文档,颜色选择器的 value 只能是:# + 6个16进制字符串

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/color#Value

The value of an element of type color is always a DOMString which contains a 7-character string specifying an RGB color in hexadecimal format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant