Skip to content

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

Open
fmms wants to merge 1 commit intogetgrav:developfrom
fmms:textareaPlaceholder
Open

Bootstrap textarea does not contain placeholder. Fixes #6#14
fmms wants to merge 1 commit intogetgrav:developfrom
fmms:textareaPlaceholder

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