'requiredError' Common Field Property
Abierto
@timbl ya está trabajando en esto.
Desde el 16/12/2019.
enhancement
- Lenguaje dominante
- TypeScript
- Estrellas
- 153
- Forks
- 46
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 7
Descripción
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 ] ;
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Evaluación
Este issue todavía no se ha evaluado.