coderedcorp / coderedcorp/coderedcms

Allow commas in comma separated form choices

Đang mở
#166 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Area: Core ⚙ Good First Issue hacktoberfest skill: python skill: wagtail Type: Bug
Ngôn ngữ chính
Python
Star
765
Fork
154
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
django, python
Lĩnh vực
backend
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.