ant-design/components/color-picker/demo/controlled.md
二货爱吃白萝卜 82b05b209d
refactor: ColorPicker panel free for uncontrolled (#50785)
* refactor: change on drag will change panel color

* docs: update demo

* test: update snapshot

* chore: wrap with useEvent

* fix: order of events

* fix: sync logic
2024-09-11 10:46:30 +08:00

250 B

zh-CN

通过 valueonChange 设置组件为受控模式,如果通过 onChangeComplete 受控则会锁定展示颜色。

en-US

Set the component to controlled mode. Will lock the display color if controlled by onChangeComplete.