diff --git a/src/form/FormikHelpers.tsx b/src/form/FormikHelpers.tsx index 0b92baca..b39c2618 100644 --- a/src/form/FormikHelpers.tsx +++ b/src/form/FormikHelpers.tsx @@ -48,7 +48,7 @@ export const FormikTextField: React.FC = (props) => { const extraOmit = props.useTopLabel ? ["label"] : []; return ( - + {props.useTopLabel && ( {props.label} )} @@ -67,6 +67,9 @@ export const FormikTextField: React.FC = (props) => { } sx={props.useTopLabel ? { marginBottom: 2 } : {}} disabled={props.disabled} + inputProps={{ + maxLength: props.maxLengthInstantFeedback, + }} {..._.omit(props, [ "small", "maxLengthInstantFeedback", diff --git a/src/user/ads/NotificationAd.tsx b/src/user/ads/NotificationAd.tsx index 48069fe6..58e75f39 100644 --- a/src/user/ads/NotificationAd.tsx +++ b/src/user/ads/NotificationAd.tsx @@ -47,9 +47,8 @@ export function NotificationAd({ onCreate }: Props) { - +