nova-flexible-content
nova-flexible-content copied to clipboard
Default Values Don't Apply
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.