5t3ph / 5t3ph/gravity-forms-snippets
Doesn't work with different field sizes
- Lingua principale
- PHP
- Stelle
- 23
- Fork
- 6
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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 ?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- php
- Ambito
- frontend
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 40/100