diff --git a/docs-assets/app/app/Http/Livewire/Forms.php b/docs-assets/app/app/Http/Livewire/Forms.php index c3f217319a..ea320f678c 100644 --- a/docs-assets/app/app/Http/Livewire/Forms.php +++ b/docs-assets/app/app/Http/Livewire/Forms.php @@ -2,17 +2,12 @@ namespace App\Http\Livewire; -use Filament\Actions\Action; -use Filament\Actions\Concerns\InteractsWithActions; -use Filament\Actions\Contracts\HasActions; use Filament\Forms\Components\Checkbox; -use Filament\Forms\Components\Grid; use Filament\Forms\Components\Group; use Filament\Forms\Components\RichEditor; use Filament\Forms\Components\Select; use Filament\Forms\Components\TextInput; use Filament\Forms\Components\Toggle; -use Filament\Forms\Components\Wizard\Step; use Filament\Forms\Concerns\InteractsWithForms; use Filament\Forms\Contracts\HasForms; use Filament\Forms\Form; @@ -226,7 +221,7 @@ class Forms extends Component implements HasForms ->label('Domain') ->default('filament') ->options([ - 'filament' => 'filamentphp' + 'filament' => 'filamentphp', ]) ->prefix('https://') ->suffix('.com'), @@ -241,7 +236,7 @@ class Forms extends Component implements HasForms ->label('Domain') ->default('filament') ->options([ - 'filament' => 'filamentphp' + 'filament' => 'filamentphp', ]) ->suffixIcon('heroicon-m-globe-alt'), ]), diff --git a/packages/forms/resources/views/components/text-input.blade.php b/packages/forms/resources/views/components/text-input.blade.php index 1437dde85d..d6d6b2a63b 100644 --- a/packages/forms/resources/views/components/text-input.blade.php +++ b/packages/forms/resources/views/components/text-input.blade.php @@ -58,7 +58,7 @@ 'type' => blank($mask) ? $getType() : 'text', ], escape: false) ->class([ - 'filament-forms-input block w-full shadow-sm outline-none transition duration-75 focus:relative focus:z-[1] focus:ring-1 focus:ring-inset disabled:opacity-70 dark:bg-gray-700 dark:text-white sm:text-sm placeholder:text-gray-500', + 'filament-forms-input block w-full shadow-sm outline-none transition duration-75 placeholder:text-gray-500 focus:relative focus:z-[1] focus:ring-1 focus:ring-inset disabled:opacity-70 dark:bg-gray-700 dark:text-white sm:text-sm', 'rounded-s-lg' => ! ($prefixLabel || $prefixIcon), 'rounded-e-lg' => ! ($suffixLabel || $suffixIcon), ]) diff --git a/packages/forms/resources/views/components/textarea.blade.php b/packages/forms/resources/views/components/textarea.blade.php index 4864723e46..7ad1a3ca8a 100644 --- a/packages/forms/resources/views/components/textarea.blade.php +++ b/packages/forms/resources/views/components/textarea.blade.php @@ -33,7 +33,7 @@ ->merge($getExtraAttributes(), escape: false) ->merge($getExtraInputAttributes(), escape: false) ->class([ - 'filament-forms-textarea-component filament-forms-input block w-full rounded-lg shadow-sm outline-none transition duration-75 focus:ring-1 focus:ring-inset disabled:opacity-70 dark:bg-gray-700 dark:text-white sm:text-sm placeholder:text-gray-500', + 'filament-forms-textarea-component filament-forms-input block w-full rounded-lg shadow-sm outline-none transition duration-75 placeholder:text-gray-500 focus:ring-1 focus:ring-inset disabled:opacity-70 dark:bg-gray-700 dark:text-white sm:text-sm', 'border-gray-300 focus:border-primary-500 focus:ring-primary-500 dark:border-gray-600 dark:focus:border-primary-500' => ! $errors->has($statePath), 'border-danger-600 ring-danger-600 dark:border-danger-400 dark:ring-danger-400' => $errors->has($statePath), ])