Primeng: Custom header support for Fieldset legend

Created on 21 Mar 2017  路  1Comment  路  Source: primefaces/primeng

I'm submitting a ... (check one with "x")

[ ] bug report => Search github for a similar issue or PR before submitting
[x ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Hi.
I want to write html within legend attribute. please do not html escape on legend attribute on fieldset.

code

<p-fieldset legend="Toggleable <span style='color:red'>*</span>" toggleable="true">
:
:
</p-fieldset>

image

p-fieldset

This issue was instructed to issue a ticket at PrimeNG ULTIMA's forum.

Regars

new feature

Most helpful comment

Can be used as;

<p-fieldset [toggleable]="true">
    <p-header>Custom Legend Content</p-header>
    Content
</p-fieldset>

>All comments

Can be used as;

<p-fieldset [toggleable]="true">
    <p-header>Custom Legend Content</p-header>
    Content
</p-fieldset>
Was this page helpful?
0 / 5 - 0 ratings

Related issues

miresk picture miresk  路  3Comments

just-paja picture just-paja  路  3Comments

Faigjaz picture Faigjaz  路  3Comments

papiroca-tm picture papiroca-tm  路  3Comments

jisqaqov picture jisqaqov  路  3Comments