'requiredError' Common Field Property
Aperta
@timbl ci sta già lavorando.
Dal 16/12/2019.
enhancement
- Lingua principale
- TypeScript
- Stelle
- 153
- Fork
- 46
- Merge medio
- 1g 8h
- PR unite (30g)
- 7
Descrizione
User Story
As a Form Designer, I can define the error to be displayed if a user fails to enter a required field, so the fact that the field is required is clear to the user.
Acceptance Criteria
- In a Form Model, the 'requiredError' property can be optionally defined for a data field, that defines the error message that should be displayed is the user fails to enter a value.
- When the form is rendered, if the data field is required #130 and the user fails to enter a value:
a. If the 'requiredError' property is defined, the custom required error message is displayed.
b. If the 'requiredError' property is not defined, a generic required error message is displayed.
Dev Notes
- requiredError defined as a thing allowing the error messages in multiple languages to be defined:
ui:requiredError [ rdfs:label "Social Security Number (SSN) is required"@en ] ;
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.