Skip to content

Commit

Permalink
Update packages/smarthr-ui/src/components/FormControl/FormControl.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: KANAMORI Yu <[email protected]>
  • Loading branch information
AtsushiM and uknmr authored Sep 16, 2024
1 parent d69ee4f commit 392598e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export const ActualFormControl: React.FC<Props & ElementProps> = ({
const inputWrapper = inputWrapperRef?.current

if (inputWrapper) {
// HINT: 対象idを持つ要素が既に存在する場合、何もしない
// HINT: 対象idをaria-describedbyに持つ要素が既に存在する場合、何もしない
if (!describedbyIds || inputWrapper.querySelector(`[aria-describedby="${describedbyIds}"]`)) {
return
}
Expand Down

0 comments on commit 392598e

Please sign in to comment.