nextcloud / nextcloud/tables

Validation should be checked when saved not when opened

Open
#1,127 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug
Dominant language
JavaScript
Stars
214
Forks
52
Avg merge
1d 10h
Merged PRs (30d)
82

Description

Steps to reproduce

Hi,
we have a table with 4 fields. All of them are mandatory.
We added that table to an application.

Click on "Add new line" shows the popup, but for field 2 to 3 we immediately get a warning. It is weird, that there is no warning for field 1.

Expected behavior

I think it would be much better if there was no warning it all as * indicates that the field is mandator. The warning should only show up, once the user has pressed "save".

Validation Check

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the behavior in the Nextcloud Tables application using a table with multiple mandatory fields, then trace the table form's validation flow. Done means opening the add-line popup shows no validation warnings, while pressing save still reports missing mandatory fields.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.