4 Replies
set its label to empty string?
Toggle::make('any_name')->label('');
Use ->hiddenLabel() that way it’s still accessible.
I want to keep ::make('') empty because it is not connected to any table. Is this possible?
You have to pass a key for make(). It doesn’t have to exist in the table, then use ->dehydrated(false) to keep it from submitting with the form data.