coderedcorp / coderedcorp/coderedcms

Allow commas in comma separated form choices

Ouverte
#166 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Area: Core ⚙ Good First Issue hacktoberfest skill: python skill: wagtail Type: Bug
Langage dominant
Python
Étoiles
765
Forks
154
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

It is a common use-case to require a comma in a form choice, such as "Please specify your income: $1,000 - $2,000" etc. I think it would be preferable to use pipe separator since it is not an English grammatical character.

While we do have a very customized form page, we are still leaning on some underpinnings of wagtail.contrib.forms, so I think we will either need to provide our own choice field, or make a contribution to wagtail to support changing it from the hard-coded comma.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start by tracing the choice parsing used by wagtail.contrib.forms and compare it with the repository's customized form page. Determine whether a configurable pipe separator or a separate choice field is appropriate. Done means choices containing commas, such as "$1,000 - $2,000", are accepted without splitting at the comma.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
django, python
Domaine
backend
Type d'issue
Fonctionnalité
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.