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

html5 placeholder attribute #15

Open
john-07 opened this issue Apr 8, 2012 · 1 comment
Open

html5 placeholder attribute #15

john-07 opened this issue Apr 8, 2012 · 1 comment

Comments

@john-07
Copy link

john-07 commented Apr 8, 2012

add line: placeholder Ztal_Tales_Form.getAttrib:element,string:placeholder
for support this attribute

<!-- Will display an <input> element -->
<input metal:define-macro="inputElement"
       tal:attributes="type Ztal_Tales_Form.inputType:element;
                       name name | element/getFullyQualifiedName;
                       id element/getId;
                       class Ztal_Tales_Form.getAttrib:element,string:class;
                       value value | nothing;
                       maxlength Ztal_Tales_Form.getAttrib:element,string:maxlength;
                       checked checked | nothing;
                       autocomplete Ztal_Tales_Form.getAttrib:element,string:autocomplete;
                       disabled Ztal_Tales_Form.isDisabled:element;
                       placeholder Ztal_Tales_Form.getAttrib:element,string:placeholder"
/>
@ChrisAnstey
Copy link
Contributor

This has been added on the 'develop' branch now, so will be merged in to the master branch on the next release.

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

No branches or pull requests

2 participants