Différences entre les versions de « Formulaire:Bug »

De Semantic MediaWiki - Sandbox

(j)
Balise : Éditeur de wikicode 2017
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=A|mandatory|show on select=A=>optionA;B=>optionB}}}
+
|{{{field|option|input type=radiobutton|values=A,B|default=B|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>

Version du 22 juillet 2021 à 16:24

This form is used to demo how the placedholder text does not appear when the field is used within a show on select option.

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.