5t3ph / 5t3ph/gravity-forms-snippets
Doesn't work with different field sizes
Ouverte
- Langage dominant
- PHP
- Étoiles
- 23
- Forks
- 6
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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 ?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- php
- Domaine
- frontend
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 40/100