Skip to content

Commit

Permalink
fix: (FormItem) help icon click stopPropagation
Browse files Browse the repository at this point in the history
  • Loading branch information
damonyoungcc committed Feb 19, 2024
1 parent 76e3583 commit bab66fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/form/form-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ const FormItemLayout: FC<FormItemLayoutProps> = props => {
<span
className={`${classPrefix}-label-help`}
onClick={e => {
e.stopPropagation()
e.preventDefault()
}}
>
Expand Down

0 comments on commit bab66fd

Please sign in to comment.