Skip to content

Commit

Permalink
wip attr
Browse files Browse the repository at this point in the history
  • Loading branch information
salahhusa9 committed Aug 6, 2023
1 parent 83cd77e commit a316aa2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions resources/views/components/input.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
{{ $attributes->get('label') }}
</label>

<input type="{{ $attributes->get('type') }}"
class="{{ config('template-components.defult_classes.input.input') }} {{ $attributes->get('class') }}
<input class="{{ config('template-components.defult_classes.input.input') }} {{ $attributes->get('class') }}
@error($attributes->get('name') ?? $attributes->whereStartsWith('wire:model')->first())
{{ config('template-components.defult_classes.input.input-error') }}
@enderror"
Expand Down

0 comments on commit a316aa2

Please sign in to comment.