ckan / ckan/ckanext-scheming

Cannot remove subfield in the dataset form with repeating_subfields

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

Description

Hi!

I am running CKAN 2.11 with ckanext-scheming 3.1.0

I have a field with repeating subfields like this:
```yaml
- field_name: creators
label: Creators
repeating_label: Creator
repeating_subfields:
- field_name: name
label: Name
- field_name: affiliations
label: Affiliations
preset: multiple_text
```

I can create a dataset with this field but, once it is created, I cannot remove any affiliation that I add to the creator. I keep clicking on the `Remove` button but nothing happens (see image).

Image

What's the problem?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the dataset form in CKAN 2.11 with ckanext-scheming 3.1.0 using the shown repeating_subfields configuration, especially the multiple_text affiliations preset. Inspect the Remove button behavior for affiliations within a creator; done means an added affiliation can be removed successfully.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.