-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
<Shadow
distance={10}
style={{borderRadius: 16}}
startColor="#dc2626"
disabled={!errors?.ad?.message}
>
<FormField
name="ad"
control={control}
rules={{ validate: required }}
>
<TextInput
multiline
textAlign="center"
style={{fontSize: 24}}
maxLength={2000}
className="bg-white p-3 w-full max-h-[300] rounded-2xl"
placeholder={`${i18n.t("adPlaceholder")}`}
/>
</FormField>
</Shadow>
example of use, in FormField there is a RHF controller, the error is that when changing the validation error, the focus leaves the field
Metadata
Metadata
Assignees
Labels
No labels