Search
v5
Introduction
Getting Started
Components
MUI
Text Field
Password Input
Number Input
Tags Input
File Uploader
Select
Native Select
Autocomplete
Autocomplete Object
Country Select
Multi Autocomplete
Multi Autocomplete Object
Checkbox
Checkbox Group
Radio Group
Slider
Switch
Rating
MUI Pickers
Date Picker
Time Picker
Date Time Picker
Misc
Color Picker
Rich Text Editor
Phone Input
Customization
Form Helpers
fieldNameToId
fieldNameToLabel
validateFileList
getFileSize
colorToString
Examples
Inputs
Select
Autocomplete
Checkbox & RadioGroup
Switch, Slider & Rating
Date & Time Pickers
Miscellaneous Components
Customization
Complete Form
Complete Form - Joi
Migration Guide
v4 to v5
Complete Form — React Hook Form + Joi
Every component in this package wired into a single React Hook Form, validated by a Joi schema via @hookform/resolvers, with a live values-and-errors readout.
Joi Form
Disable All Fields
When the disabled checkbox is clicked, the disabled prop is being passed individually for each component, which prevents any input, but still allows the form to be submitted with all the fields.
Email
*
Age
*
Password
*
Favourite Foods
*
Rajma Rice
Favourite Foods
*
Type a dish and press Enter
Resume
Favourite Color
*
Select Sport(s)
*
Badminton
IPL Teams
*
Favourite Sport
*
Cricket
Table Tennis
Badminton
Croquet
Squash
Baseball
Hobby
*
Hobby
*
Grocery List
*
Grocery List
*
Country Code of Nationality
*
Country Code of Nationality
*
Agree To Terms & Conditions
Select Color
*
Black
Blue
Green
Orange
Pink
Purple
Red
Silver
White
Yellow
Select Countries
*
India
Australia
Spain
Ireland
South Africa
Brazil
United Arab Emirates
Gender
*
Male
Female
Others
Country
*
India
Australia
Spain
Ireland
South Africa
Brazil
United Arab Emirates
Enable Dark Theme
Age
*
min:10; max:100
Rating
*
1 Star
2 Stars
3 Stars
4 Stars
5 Stars
6 Stars
7 Stars
8 Stars
9 Stars
10 Stars
Empty
Date of Birth
*
DD
MMMM
YYYY
Cannot select future dates
Time
*
hh
:
mm
Time
*
Date Time
*
MM
/
DD
/
YYYY
hh
:
mm
Bg Color
*
HEX
RGB
HSV
Phone Number
*
Submit
Reset
Form State - Values & Errors