Skip to content

Validated inputs in access creation form

Antoine requested to merge ZeHiro/kresus:validated-inputs into master

This MR provides login, password, and bank validity checks in the access creation form, tackling one of the problems raised during the user tests (here: https://community.kresus.org/t/retours-tests-utilisateur-ice-s/89).

When the user did not input any login or password here is what it observes:

invalid-access-form

When the used did all the job:

valid-access-form

In mobile mode, the select is always valid, even if the user did not change the selection (the first element is always visible to the user):

mobile-select-always-valid

Finally, this MR fixes a small bug in the access creation form: it was impossible to create an access for the first bank in mobile mode before first changing the selected value.

[x] Add the validation for cutomfields. It is currently possible to submit the create access form if a customField is not set.

Edited by Antoine

Merge request reports

Loading