Enter characters or strings separated by spaces. Random combinations
will be generated using these inputs.
-
-
character set
+
)}
-
+
-
-
min length
+
{(field) => }
-
-
-
max length
+
+
{(field) => }
-
+
-
-
word count
+
{(field) => }
-
+
{
'"Set" replaces the current custom text with generated words, "Add" appends generated words to the current custom text.'
diff --git a/frontend/src/ts/components/modals/QuoteReportModal.tsx b/frontend/src/ts/components/modals/QuoteReportModal.tsx
index 0de7c72fae9f..e52ea8a1a8c4 100644
--- a/frontend/src/ts/components/modals/QuoteReportModal.tsx
+++ b/frontend/src/ts/components/modals/QuoteReportModal.tsx
@@ -19,6 +19,7 @@ import { removeLanguageSize } from "../../utils/strings";
import { AnimatedModal } from "../common/AnimatedModal";
import { Button } from "../common/Button";
import { Separator } from "../common/Separator";
+import { LabeledField } from "../ui/form/LabeledField";
import { fieldMandatory } from "../ui/form/utils";
import SlimSelect from "../ui/SlimSelect";
@@ -133,17 +134,15 @@ export function QuoteReportModal(): JSXElement {
Please add comments in English only.
-
-
+
{quoteText()}
-
+
(
-
-
+
-
+
)}
/>
() }}
children={(field) => (
-
-
+
-
+
)}
/>
diff --git a/frontend/src/ts/components/modals/QuoteSubmitModal.tsx b/frontend/src/ts/components/modals/QuoteSubmitModal.tsx
index ce71959575d9..0f9a5ecf3980 100644
--- a/frontend/src/ts/components/modals/QuoteSubmitModal.tsx
+++ b/frontend/src/ts/components/modals/QuoteSubmitModal.tsx
@@ -18,6 +18,7 @@ import { removeLanguageSize } from "../../utils/strings";
import { AnimatedModal } from "../common/AnimatedModal";
import { Button } from "../common/Button";
import { InputField } from "../ui/form/InputField";
+import { LabeledField } from "../ui/form/LabeledField";
import { fieldMandatory } from "../ui/form/utils";
import SlimSelect from "../ui/SlimSelect";
@@ -123,8 +124,7 @@ export function QuoteSubmitModal(): JSXElement {
name="text"
validators={{ onChange: fieldMandatory() }}
children={(field) => (
-
-
+
-
+
)}
/>
() }}
children={(field) => (
-
-
+
-
+
)}
/>
(
-
-
+ field().handleChange(val ?? "")}
/>
-
+
)}
/>
diff --git a/frontend/src/ts/components/modals/WordFilterModal.tsx b/frontend/src/ts/components/modals/WordFilterModal.tsx
index 89e3c1b3794e..84bd072111cd 100644
--- a/frontend/src/ts/components/modals/WordFilterModal.tsx
+++ b/frontend/src/ts/components/modals/WordFilterModal.tsx
@@ -20,6 +20,7 @@ import { Button } from "../common/Button";
import { Separator } from "../common/Separator";
import { Checkbox } from "../ui/form/Checkbox";
import { InputField } from "../ui/form/InputField";
+import { LabeledField } from "../ui/form/LabeledField";
import { SubmitButton } from "../ui/form/SubmitButton";
import SlimSelect from "../ui/SlimSelect";
@@ -228,15 +229,14 @@ export function WordFilterModal(props: {
}}
>