mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Update packages/forms/src/Components/CheckboxList.php
This commit is contained in:
@@ -251,7 +251,7 @@ class CheckboxList extends Field implements Contracts\CanDisableOptions, Contrac
|
||||
return $this->getOptionLabelFromRecordUsing !== null;
|
||||
}
|
||||
|
||||
public function getOptionLabelFromRecord(Model $record): Htmlable
|
||||
public function getOptionLabelFromRecord(Model $record): string | Htmlable
|
||||
{
|
||||
return $this->evaluate(
|
||||
$this->getOptionLabelFromRecordUsing,
|
||||
|
||||
Reference in New Issue
Block a user