| 1 | <?php |
||
| 5 | class Number extends Text |
||
| 6 | { |
||
| 7 | protected static $js = [ |
||
| 8 | '/vendor/laravel-admin/number-input/bootstrap-number-input.js', |
||
| 9 | ]; |
||
| 10 | |||
| 11 | public function render() |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Set min value of number field. |
||
| 34 | * |
||
| 35 | * @param integer $value |
||
| 36 | * @return $this |
||
| 37 | */ |
||
| 38 | public function min($value) |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Set max value of number field. |
||
| 47 | * |
||
| 48 | * @param integer $value |
||
| 49 | * @return $this |
||
| 50 | */ |
||
| 51 | public function max($value) |
||
| 57 | } |
||
| 58 |