May 9, 2022
0
Level 12
Customize fields in Nova Action
I try to make an action, where you have to click a checkbox to check, that you know what you are doing.
// This is in my actions
public function fields()
{
return [
Boolean::make('Force Generating')
->trueValue('1')
->falseValue('0')
];
}
I want to have only "force" as name and want to write a extra text right from the Textbox. Is that possible? Something like
public function fields()
{
return [
Boolean::make('Force Generating', 'force')
->trueValue('1')
->falseValue('0')
->helpText('Click here')
];
}
is not possible. Hope somebody can help. Im new to nova and we are working in this project with version 3.
Please or to participate in this conversation.