area17 / twill

Twill is an open source CMS toolkit for Laravel that helps developers rapidly create a custom admin console that is intuitive, powerful and flexible. Chat with us on Discord at https://discord.gg/cnWk7EFv8R.
https://twillcms.com
Apache License 2.0
3.77k stars 576 forks source link

fix: missing step method on input field #2495

Closed zeezo887 closed 8 months ago

zeezo887 commented 8 months ago

Description

This allows the step method to be available on the Input field of the form builder.

Usage:

$form->add(
    Input::make()->name('length')->type('number')->label("length")->step(1)
);

Related Issues

Fixes #2380