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

how to show html element to errorMessage  #252

@PradeepGorule14

Description

@PradeepGorule14

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

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions