5t3ph / 5t3ph/gravity-forms-snippets

Doesn't work with different field sizes

Đang mở
#4 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
PHP
Star
23
Fork
6
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

If a form field is using a different form size, other than "medium", then the str_replace() fails to change anything. Perhaps turn this into a regx to allow for small|medium|large ?

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

Look for the str_replace() call that applies Bootstrap classes to form fields. The issue mentions it fails for sizes other than 'medium'. Find where field sizes are defined in Gravity Forms and adjust the replacement to handle 'small', 'medium', 'large' via regex. Test with different field size settings to ensure classes are applied correctly.

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

Đánh giá

Công nghệ
php
Lĩnh vực
frontend
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
40/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.