Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 358 Bytes

form-number.md

File metadata and controls

12 lines (10 loc) · 358 Bytes

Number Form Type

Showing input number

Code Sample

$this->form[] = ['label'=>'Amount','name'=>'amount','type'=>'number','min'=>0,'max'=>100];

By putting min attribute, it will make a minimal amount of the number and also by putting max attribute, it will make a maximal amount of the number

What's Next