Skip to content

Fix "new invite" form resetting on error

Julian requested to merge new-invite-keep-input-on-error into master

When the new invite page was submitted with e.g. an invalid "Valid Until" value, an error was displaey and the whole form was reset. This was confusing to users.

Now the form content is preserved on errors. Also the "Valid Until" field now has min/max attributes to prevent submitting the form with invalid values.

Fixes #134 (closed)

Edited by Julian

Merge request reports