code4romania / code4romania/paul

Enumeration fields should allow multiple values

Open
#25 0 comments 0 reactions 0 assignees View on GitHub
bug :bug: front-end
Dominant language
Python
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

A field of type `enumeration` should allow the selection of multiple values at once.
The back-end supports multiple tags for an entry.
The UI selector allows choosing only one value from the UI.

**Expected**
1. Given a table with a column of type `enumeration` with multiple available choices
2. Add/edit a row in said table
3. A user can select one or more values

**Actual**
1. Given a table with a column of type `enumeration` with multiple available choices
2. Add/edit a row in said table
3. Only one of the available choices can be set

**Suggestion**
The widget used when creating a field of type `enumeration` may also be helpful in this situation.

![image](https://github.com/code4romania/paul/assets/2820084/001a86e6-6e79-4f55-bc65-539119bddfd0)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.