5t3ph / 5t3ph/gravity-forms-snippets

Doesn't work with different field sizes

オープン
#4 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
PHP
スター
23
フォーク
6
PR マージ指標
30日以内にマージされた PR はありません

説明

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 ?

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

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

調査の方向性

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.

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

評価

技術スタック
php
領域
frontend
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
40/100

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

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