fix: the input field of tool panel not worked as expected (#6003)

This commit is contained in:
非法操作
2024-07-06 09:54:30 +08:00
committed by GitHub
parent ab847c81fa
commit eee779a923
4 changed files with 16 additions and 9 deletions

View File

@@ -191,6 +191,7 @@ const SimpleSelect: FC<ISelectProps> = ({
onClick={(e) => {
e.stopPropagation()
setSelectedItem(null)
onSelect({ value: null })
}}
className="h-5 w-5 text-gray-400 cursor-pointer"
aria-hidden="false"