ckan / ckan/ckanext-scheming

Hide empty field from display

Open
#359 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
102
Forks
182
PR merge metrics
No merged PRs in 30d

Description

I want fields that are empty to be hidden from the metadata displayed in the frontend. How can I achieve this?

I tried setting

`'validator':if_empty 'display_property':null`

But it did not work.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by locating the frontend metadata display path and how the schema's `display_property` and `if_empty` settings are handled; done means empty fields are omitted while populated metadata remains visible.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.