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

form:checkbox-list doesn't respect 'class' param #5

Open
icek opened this issue Nov 19, 2011 · 2 comments
Open

form:checkbox-list doesn't respect 'class' param #5

icek opened this issue Nov 19, 2011 · 2 comments

Comments

@icek
Copy link

icek commented Nov 19, 2011

example xslt:

<xsl:call-template name="form:checkbox-list">
    <xsl:with-param name="handle" select="'category'"/>
    <xsl:with-param name="class" select="'checkbox'"/>
    <xsl:with-param name="options">
        <category>Amateur</category>
        <category>Senior</category>
        <category>Professional</category>
    </xsl:with-param>
</xsl:call-template>

html output:

<label class="">
    <input id="fields-category" class="" type="checkbox" value="Amateur" title="" name="fields[category][]">Amateur
</label>
<label class="">
    <input id="fields-category" class="" type="checkbox" value="Senior" title="" name="fields[category][]">Senior
</label>
<label class="">
    <input id="fields-category" class="" type="checkbox" value="Professional" title="" name="fields[category][]">Professional
</label>
@icek
Copy link
Author

icek commented Nov 19, 2011

Same for form:radiobutton-list

@icek
Copy link
Author

icek commented Nov 19, 2011

value parameter is also not respected, nothing is checked/selected when I use e.g. <xsl:with-param name="value" select="'senior'"/>

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

1 participant