mirror of
https://github.com/filamentphp/filament.git
synced 2026-10-31 02:58:53 +08:00
Update Repeater.php
This commit is contained in:
@@ -1075,12 +1075,11 @@ class Repeater extends Field implements Contracts\CanConcealComponents
|
||||
return $this->isCollapsible();
|
||||
}
|
||||
|
||||
public function getView(): string
|
||||
/**
|
||||
* @return view-string
|
||||
*/
|
||||
public function getDefaultView(): string
|
||||
{
|
||||
if (isset($this->view)) {
|
||||
return $this->view;
|
||||
}
|
||||
|
||||
if ($this->isSimple()) {
|
||||
return 'filament-forms::components.simple-repeater';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user