Fields Input Guide
When specifying the htmlType
attribute within a field, various fields utilize distinct syntaxes. Below is a comprehensive guide for each supported field. Please examine the final word in each example provided.
text
name string text
email string,40 email
number
amount double number
date
published_at date date
file
avatar string file
password
user_password string password
select
status integer select:Draft:1,Published:2,Archived:3
sub_status string select:Draft,Published,Archived
radio
color integer radio:Red:1,Green:2
gender string radio:Male,Female
checkbox
is_featured boolean checkbox
is_active string checkbox:active
textarea
description text textarea