ingeniuscliq-core 0.5.63 → 0.5.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -30,7 +30,7 @@ function FormPassword({
|
|
|
30
30
|
const getLabel = useCallback(() => {
|
|
31
31
|
if (withinLabel) return "";
|
|
32
32
|
if (label) return required ? `${label} *` : label;
|
|
33
|
-
if (name) return t(`fields.${name}`);
|
|
33
|
+
if (name) return required ? `${t(`fields.${name}`)} *` : t(`fields.${name}`);
|
|
34
34
|
return "";
|
|
35
35
|
}, [label, withinLabel, required, name, t]);
|
|
36
36
|
return /* @__PURE__ */ jsx(
|
|
@@ -101,7 +101,7 @@ function FormPhone({
|
|
|
101
101
|
const getLabel = useCallback(() => {
|
|
102
102
|
if (withinLabel) return "";
|
|
103
103
|
if (label) return required ? `${label} *` : label;
|
|
104
|
-
if (name) return t(`fields.${name}`);
|
|
104
|
+
if (name) return required ? `${t(`fields.${name}`)} *` : t(`fields.${name}`);
|
|
105
105
|
return "";
|
|
106
106
|
}, [label, withinLabel, required, name, t]);
|
|
107
107
|
return /* @__PURE__ */ jsx(
|