Availity / availity-reactstrap-validation

Easy to use React validation components compatible for reactstrap.
https://availity.github.io/availity-reactstrap-validation/
MIT License
191 stars 70 forks source link

how to show html element to errorMessage #252

Open PradeepGorule14 opened 3 years ago

PradeepGorule14 commented 3 years ago

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)} />

`