Add button for Select widgets in the management interface is buggy

Open Beginner friendly
#1,578 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
django, python
Domain
frontend

Research direction

Start by locating the management-interface Select widget implementation and trace how the add button uses selectOptions. Reproduce the case where selectOptions is empty, then verify that the button is absent and the interface no longer errors.

Written by the indexing model from the issue text.

Description

An error occurs if selectOptions is empty. In this case, the button should not be displayed.

This should be fixed in 3.0.0 to not mess up the refactoring/reformatting.

Dominant language
Python
Stars
133
Forks
60
Avg merge
3d 14h
Merged PRs (30d)
21

Contributor guide

Open the contributing guide

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.

More from rdmorganiser/rdmo

All issues in rdmorganiser/rdmo

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.