coderedcorp / coderedcorp/coderedcms

Allow commas in comma separated form choices

オープン
#166 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
Area: Core ⚙ Good First Issue hacktoberfest skill: python skill: wagtail Type: Bug
主要言語
Python
スター
765
フォーク
154
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
django, python
領域
backend
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。