nova-flexible-content icon indicating copy to clipboard operation
nova-flexible-content copied to clipboard

Default Values Don't Apply

Open devotoare opened this issue 3 years ago • 5 comments

Number::make('Weight')->min(0)->max(10)->step(0.01)
                        ->default(1)
                        ->rules('required'),

Results in a number field that has no value pre-entered.

Text::make('Type')
                        ->default('input')
                        ->rules('required'),

Results in a text field that has no value pre-entered.

devotoare avatar Dec 02 '20 22:12 devotoare