type (必填) 類別 |
name (需填) |
id |
label 顯示名稱 |
title 停駐時的提示字 |
placeHolder 輸入盒的提示字 |
value 值 |
others 其他屬性 |
---|---|---|---|---|---|---|---|
text / password / textarea | name | id | label | title | placeHolder | defaultValue | required disabled |
file | name | id | label | title | disabled | ||
multipleFile | name[] | id | label | title | disabled | ||
hidden | name | id | defaultValue | required disabled | |||
checkbox-begin | label | title | |||||
checkbox | name[] | id | label | title | value | checked required disabled | |
checkbox-end | |||||||
radio-begin | label | title | |||||
radio | name(須同) | id | label | title | value | checked required disabled | |
radio-end | |||||||
select-begin | name | id | label | title | required disabled | ||
option | label | title | value | selected disabled | |||
select-end | |||||||
multipleSelect-begin | name[] | id | label | title | required disabled | ||
option | label | title | value | selected disabled | |||
multipleSelect-end |