Field-level violations are not shown on multi-valued text and url properties

Open Beginner friendly
#1,501 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
82/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript
Domain
frontend

Research direction

Start with TextInput.vue and UrlInput.vue, then trace the status and violations supplied by useStringValueInput.ts; compare the field-level handling with MonolingualTextInput.vue. Reproduce the duplicate-value case in a multi-valued text or url property and confirm that field-level messages appear while per-row messages remain unchanged.

Written by the indexing model from the issue text.

Description

bug

In the subject editor, field-level violations (required, unique) on a multi-valued text or url property are shown nowhere. TextInput.vue and UrlInput.vue pin the field's status to default whenever multiple is set, so CdxField never renders its messages; the per-row messages only cover part-indexed violations. The violations already reach both components through useStringValueInput; only the status binding suppresses them. With error severity the save is blocked with nothing on screen.

Reproduce: give a Schema a text property with "multiple": true and "uniqueItems": { "severity": "error" }, enter the same value twice in a Subject, save.

Expected: the field renders its violation messages, as MonolingualTextInput.vue does (https://github.com/ProfessionalWiki/NeoWiki/pull/1500); per-row messages unchanged.

AI-authored — Claude Code, Fable 5.1 (max); found while reviewing https://github.com/ProfessionalWiki/NeoWiki/pull/1500 for @JeroenDeDauw, no steering on this text; not yet human-reviewed; cause confirmed by reading TextInput.vue, UrlInput.vue and useStringValueInput.ts, not reproduced in a browser.

Dominant language
PHP
Stars
23
Forks
5
Avg merge
20h 47m
Merged PRs (30d)
107

Contributor guide

No contributing guide indexed for this repository

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.

More from ProfessionalWiki/NeoWiki

All issues in ProfessionalWiki/NeoWiki

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.