« Formulaire:Bug » : différence entre les versions
De Semantic MediaWiki - Sandbox
Aucun résumé des modifications Balise : Éditeur de wikicode 2017 |
Aucun résumé des modifications Balise : Éditeur de wikicode 2017 |
||
Ligne 6 : | Ligne 6 : | ||
{|class=wikitable | {|class=wikitable | ||
!Select an option | !Select an option | ||
|{{{field|option|input type=radiobutton|values=A,B|default= | |{{{field|option|input type=radiobutton|values=A,B|default=A|mandatory|show on select=A=>optionA;B=>optionB}}} | ||
| | | | ||
<div id=optionA>The placeholder text is visible here, because the field is visible when the form opens:<br>{{{field|OptA|input type=tokens|values=one, two, three, four, five|placeholder=A multiple selections allowed.}}}</div> | <div id=optionA>The placeholder text is visible here, because the field is visible when the form opens:<br>{{{field|OptA|input type=tokens|values=one, two, three, four, five|placeholder=A multiple selections allowed.}}}</div> |
Dernière version du 22 juillet 2021 à 15:25
This form is used to demo how the placedholder text does not appear when the field is used within a show on select option.