5t3ph / 5t3ph/gravity-forms-snippets

Button text doesn't retain setting for label

Đang mở
#5 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ả

Label for the button is set to "Submit" rather than keeping the setting on the form.

Changing to `{$form['button']['text']}` appears to work ok.

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

The issue mentions a button label not retaining the form setting, suggesting a fix using `{$form['button']['text']}`. Look for the file where button text is rendered, likely in a template or snippet that applies Bootstrap classes. Check if the current code hardcodes "Submit" and replace it with the dynamic variable. Test by creating a form with a custom button label to verify the change works.

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ó
1/5
Thời gian dự kiến
Dưới một 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.