有誰知道如何在 Laravel Collective 中設(shè)置時間輸入的最大值?我試過這個但它不起作用:{!!Form::time('tiempo[]', 'max="04:00"')!!}
1 回答

ibeautiful
TA貢獻(xiàn)1993條經(jīng)驗 獲得超6個贊
將您的選項作為數(shù)組中的第三個參數(shù)傳遞。第二個參數(shù)是輸入的值。
{!! Form::time('tiempo[]', null, ['max' => '04:00']) !!}
- 1 回答
- 0 關(guān)注
- 116 瀏覽
添加回答
舉報
0/150
提交
取消