We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
the placeholder attribute is not supported by HTMLTextAreaWidget (HTMLTextInputWidget supports it)
HTMLTextAreaWidget
HTMLTextInputWidget
is this by intent or would a PR be welcome?
i'd suggest add it to HTMLTextAreaWidget and include it in textlines_input.pt and textarea_input.pt so devs can use placeholder text if they want to.
textlines_input.pt
textarea_input.pt
set the widgets placeholder in a plone dexterity schema
widget( "contact_persons", placeholder="Firstname, lastname, role", ) contact_persons = schema.Tuple( title=_("Contact Persons"), value_type=schema.TextLine(), required=True, )
the textarea in the resulting form should show "Firstname, lastname, role" as placeholder text
no placeholder text is shown
plone 5.2.4 - z3c.form 3.7.1
The text was updated successfully, but these errors were encountered:
Sounds reasonable, a PR is welcome.
Sorry, something went wrong.
No branches or pull requests
the placeholder attribute is not supported by
HTMLTextAreaWidget
(HTMLTextInputWidget
supports it)is this by intent or would a PR be welcome?
i'd suggest add it to HTMLTextAreaWidget and include it in
textlines_input.pt
andtextarea_input.pt
so devs can use placeholder text if they want to.What I did:
set the widgets placeholder in a plone dexterity schema
What I expect to happen:
the textarea in the resulting form should show
"Firstname, lastname, role" as placeholder text
What actually happened:
no placeholder text is shown
What version of Python and Zope/Addons I am using:
plone 5.2.4 - z3c.form 3.7.1
The text was updated successfully, but these errors were encountered: