misc. fix for fields

This commit is contained in:
Ryan Scherler
2021-01-30 18:14:29 -08:00
parent ea4f86b072
commit 84647cf4ff
2 changed files with 2 additions and 4 deletions
-2
View File
@@ -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 -2
View File
@@ -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()