Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

how to show html element to errorMessage #252

Open
PradeepGorule14 opened this issue Aug 31, 2021 · 0 comments
Open

how to show html element to errorMessage #252

PradeepGorule14 opened this issue Aug 31, 2021 · 0 comments

Comments

@PradeepGorule14
Copy link

i want show the anchor link when user reach the max limit but i dont how to show anchor tag in errorMessage

`
<AvField
name="Number of Edition"
label="Number of Edition"
type="number"
value={editions}
validate={{
required: {
value: true,
errorMessage: "This field is mandatory",
},
max: {
value: 1000,
errorMessage: Link
},
min: {
value: 1,
errorMessage: "Enter value between 1 to 1000",
},
pattern: {
value: "^[0-9]+$",
errorMessage: "Only integers are allowed",
},
}}
onChange={(e, v) => setEditions(v)}
/>

`

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant