Merge pull request #16225 from marcusmoore/chore/remove-cols-from-textarea

Removed cols property from textarea component
This commit is contained in:
snipe 2025-02-18 19:56:40 +00:00 committed by GitHub
commit a1b0a30351
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,11 +1,9 @@
@props([ @props([
'value' => '', 'value' => '',
'cols' => 50,
'rows' => 10, 'rows' => 10,
]) ])
<textarea <textarea
{{ $attributes->merge(['class' => 'form-control']) }} {{ $attributes->merge(['class' => 'form-control']) }}
cols="{{ $cols }}"
rows="{{ $rows }}" rows="{{ $rows }}"
>{{ $value }}</textarea> >{{ $value }}</textarea>