SolidOS / SolidOS/solid-ui

Add form field flag for field to suppress the field if the value is blank or none, and the field is not editable

Open
#560 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Form Language
Dominant language
TypeScript
Stars
153
Forks
46
Avg merge
1d 8h
Merged PRs (30d)
7

Description

When a field in a form is output-only, uneditable, and the current value of the predicate is the empty string, or there are times when the field is not useful and should be suppressed.

See https://github.com/SolidOS/contacts-pane/issues/13
where in the discussion we see that showing an empty Note field or Role field is not useful, and so the field should just not be displayed.

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.

Research direction

Start by locating the form field rendering and the existing field configuration options in this TypeScript repository, then review the linked contacts-pane issue for the expected behavior. Done means an output-only, uneditable field can be configured to stay hidden when its value is blank or none, including the Note and Role cases described.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.