Skip to content

Potential improvement to always show title, description, key #866

Open
@mark007

Description

@mark007

Enhancement

As a user/developer, when I am filling in a field on the interface I should be able to perhaps optionally, be always able to see the title, description, key, and any validation error

Expected behaviour

I expected when making a mistake on a certain field in the gui, for the description to be always visible as it often gives clues as to how to make the field valid

Actual behaviour

It actually shows the validation error message and the description is hidden. For fields that have some sort of complicated regex, the description field is often the best place to place a description of how to make the field valid, but if a field is invalid, and is also required, I am unable to get the description to appear again once its gone into an invalid field state.

I'm just putting this forward as an idea, that I think in general it should be possible to have

  1. The title and key always visible. For our tool which is being used by developers themselves, we want to be able to always allow them to see both the title and key name. Currently we can only see a way to show on or the other, not both.
  2. As I mentioned, when we make a mistake on a field, I think the description should be left as is and not hidden, and for the error message to appear in one line below perhaps, so that the description is always visible.

Do you think these would be good improvements?

@json-schema-form/angular-schema-form-lead

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions