Allow users to recover from xpath errors
Evaluación
Este issue todavía no se ha evaluado.
Descripción
When the xpath throws a validation error the web-forms UI displays the error in a dialog that is impossible to recover from without refreshing the form.
We can't necessarily show an error beside the field because it may be that it's not shown to the user, or the xpath expression may reference several fields. Instead show an error at the top of the form, and disable submit. That way the user is not blocked from fixing the error, and not interrupted if they're in the process of providing valid data.
Also consider if throwing errors is the correct approach or if the API should instead return error objects.
There may be a common approach that can be used for similar errors in the xforms-engine.
- Lenguaje dominante
- TypeScript
- Estrellas
- 38
- Forks
- 23
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
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.
Más de getodk/web-forms
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Update text stylingAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Button to add negative values in decimal and integer question is missing on IphonePosiblemente ocupada @garethbowen la tomó hace 1 día. Abierto
-
Integer question with thousand sep appearance is not working correctly when Polish language is setAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
Todos los issues de getodk/web-forms
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
CopilotKit/openmuse#215 ·
Los mantenedores suelen responder en 3 días
-
b:minor bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
software-mansion/argent#1698 ·
Los mantenedores suelen responder en 1 día
-
e2e-failure ready-to-code
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
redhat-developer/rhdh-plugin-export-overlays#4624 · 1 comentario ·
Los mantenedores suelen responder en 1 día