diff --git a/apps/web/app/(use-page-wrapper)/apps/routing-forms/[...pages]/FormEdit.tsx b/apps/web/app/(use-page-wrapper)/apps/routing-forms/[...pages]/FormEdit.tsx index 0a8af24122..36889af36b 100644 --- a/apps/web/app/(use-page-wrapper)/apps/routing-forms/[...pages]/FormEdit.tsx +++ b/apps/web/app/(use-page-wrapper)/apps/routing-forms/[...pages]/FormEdit.tsx @@ -2,6 +2,7 @@ import { FieldTypes } from "@calcom/app-store/routing-forms/lib/FieldTypes"; import type { RoutingFormWithResponseCount } from "@calcom/app-store/routing-forms/types/types"; +import { LearnMoreLink } from "@calcom/features/eventtypes/components/LearnMoreLink"; import { getFieldIdentifier } from "@calcom/features/form-builder/utils/getFieldIdentifier"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import classNames from "@calcom/ui/classNames"; @@ -132,7 +133,13 @@ function Field({ + } name={`${hookFieldNamespace}.identifier`} required placeholder={t("identifies_name_field")} diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json index 2baacd646a..a8b16eb8df 100644 --- a/apps/web/public/static/locales/en/common.json +++ b/apps/web/public/static/locales/en/common.json @@ -2563,7 +2563,7 @@ "this_is_what_your_users_would_see": "This is what your users would see", "identifies_name_field": "Identifies field by this name.", "identifier_url_parameter": "Identifier", - "identifier_url_parameter_hint": "Used for URL parameters, like &name=john", + "identifier_url_parameter_hint": "Passed as a URL parameter and can be used to prefill booking questions, e.g. &name=john. <0>Learn more", "add_1_option_per_line": "Add 1 option per line", "select_a_router": "Select a router", "add_a_new_route": "Add a new route", diff --git a/packages/features/eventtypes/components/LearnMoreLink.tsx b/packages/features/eventtypes/components/LearnMoreLink.tsx index 12547a49ce..1c76519318 100644 --- a/packages/features/eventtypes/components/LearnMoreLink.tsx +++ b/packages/features/eventtypes/components/LearnMoreLink.tsx @@ -19,19 +19,21 @@ export const LearnMoreLink = ({ t, i18nKey, href }: LearnMoreLinkProps) => { } return ( - - Learn more - , - ]} - /> + + + Learn more + , + ]} + /> + ); }; diff --git a/packages/ui/components/form/inputs/types.d.ts b/packages/ui/components/form/inputs/types.d.ts index 8596352141..008157dece 100644 --- a/packages/ui/components/form/inputs/types.d.ts +++ b/packages/ui/components/form/inputs/types.d.ts @@ -6,7 +6,7 @@ export type InputFieldProps = object translations?: Translations; label?: React.ReactNode; LockedIcon?: React.ReactNode; - hint?: string; + hint?: React.ReactNode; hintErrors?: string[]; addOnLeading?: React.ReactNode; addOnSuffix?: React.ReactNode;