Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootstrap textarea does not contain placeholder. Fixes #6 #14

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

fmms
Copy link
Contributor

@fmms fmms commented Apr 16, 2016

The placeholder is missing. adjust to adjust to the base at
https://github.com/getgrav/grav-plugin-form/blob/develop/templates/forms/fields/textarea/textarea.html.twig

However we use rows=10 as default to be backwards comptible

The placeholder is missing. adjust to adjust to the base at
https://github.com/getgrav/grav-plugin-form/blob/develop/templates/forms/fields/textarea/textarea.html.twig

However we use rows=10 as default to be backwards comptible
@flaviocopes
Copy link
Contributor

Drop {% if field.classes is defined %}class="{{ field.classes }}" {% endif %} as would be a duplicate and I'll merge

@flaviocopes
Copy link
Contributor

This is the only theme that overrides the Form input fields and actually it's a bad thing, it should not re-implement them completely, just add the custom styling/classes/markup it needs. Will re-visit this soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants