5t3ph / 5t3ph/gravity-forms-snippets

Doesn't work with different field sizes

Offen
#4 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
PHP
Sterne
23
Forks
6
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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 ?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
php
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
40/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.