From 392598ec59785b93eea2ee97f7371fe27efc2174 Mon Sep 17 00:00:00 2001 From: Mizoue Atsushi Date: Tue, 17 Sep 2024 08:26:41 +0900 Subject: [PATCH] Update packages/smarthr-ui/src/components/FormControl/FormControl.tsx Co-authored-by: KANAMORI Yu --- packages/smarthr-ui/src/components/FormControl/FormControl.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/smarthr-ui/src/components/FormControl/FormControl.tsx b/packages/smarthr-ui/src/components/FormControl/FormControl.tsx index 62024d831f..182dd62b07 100644 --- a/packages/smarthr-ui/src/components/FormControl/FormControl.tsx +++ b/packages/smarthr-ui/src/components/FormControl/FormControl.tsx @@ -211,7 +211,7 @@ export const ActualFormControl: React.FC = ({ const inputWrapper = inputWrapperRef?.current if (inputWrapper) { - // HINT: 対象idを持つ要素が既に存在する場合、何もしない + // HINT: 対象idをaria-describedbyに持つ要素が既に存在する場合、何もしない if (!describedbyIds || inputWrapper.querySelector(`[aria-describedby="${describedbyIds}"]`)) { return }