Add option to hide the table if the field has empty value

Created on 19 October 2021, over 3 years ago
Updated 15 June 2023, almost 2 years ago

Problem/Motivation

When the field is empty, the widget displays a table without body rows, just a header with nothing below, and the "empty" message. This could be considered as non optimal UI.

Steps to reproduce

Open any entity form that uses this widget, and the field has empty value.

Proposed resolution

I propose a configuration setting that, if enabled, will hide the table and only show the button(s) and the "empty" message.

Remaining tasks

-

User interface changes

When the field is empty, instead of a table with empty body there will just be a markup message.

API changes

-

Data model changes

-

Feature request
Status

Needs work

Version

1.2

Component

User interface

Created by

🇳🇴Norway efpapado

Live updates comments and jobs are added and updated live.
  • Needs reroll

    The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024