mirror of
https://github.com/filamentphp/filament.git
synced 2026-10-24 01:58:00 +08:00
misc. fix for fields
This commit is contained in:
@@ -6,8 +6,6 @@ class Date extends Field
|
||||
{
|
||||
public $config = [
|
||||
'altInput' => true,
|
||||
'altFormat' => 'F j, Y',
|
||||
'dateFormat' => 'Y-m-d',
|
||||
];
|
||||
|
||||
public function config(array $config)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Filament\View\Components;
|
||||
|
||||
use Filament\Filament;
|
||||
use Filament\FilamentManager;
|
||||
use Illuminate\View\Component;
|
||||
|
||||
class Image extends Component
|
||||
@@ -27,7 +27,7 @@ class Image extends Component
|
||||
|
||||
public function src($dpr = 1)
|
||||
{
|
||||
return Filament::image($this->src, array_merge(['dpr' => $dpr], $this->manipulations));
|
||||
return FilamentManager::image($this->src, array_merge(['dpr' => $dpr], $this->manipulations));
|
||||
}
|
||||
|
||||
public function render()
|
||||
|
||||
Reference in New Issue
Block a user