ソースを参照

add parent in errorClass

visuddhinanda 2 年 前
コミット
4d839147a9
1 ファイル変更3 行追加0 行削除
  1. 3 0
      dashboard/src/components/template/Wbw/WbwMeaning.tsx

+ 3 - 0
dashboard/src/components/template/Wbw/WbwMeaning.tsx

@@ -20,6 +20,9 @@ export const errorClass = (
     if (answer !== data) {
       classError = " wbw_check";
       switch (field) {
+        case "parent":
+          classError += " wbw_error";
+          break;
         case "case":
           classError += " wbw_error";
           break;