mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Introduce textarea component
This commit is contained in:
parent
587449ef97
commit
9573428201
11
resources/views/blade/input/textarea.blade.php
Normal file
11
resources/views/blade/input/textarea.blade.php
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
@props([
|
||||||
|
'value' => '',
|
||||||
|
'cols' => 50,
|
||||||
|
'rows' => 10,
|
||||||
|
])
|
||||||
|
|
||||||
|
<textarea
|
||||||
|
{{ $attributes->merge(['class' => 'form-control']) }}
|
||||||
|
cols="{{ $cols }}"
|
||||||
|
rows="{{ $rows }}"
|
||||||
|
>{{ $value }}</textarea>
|
Loading…
Reference in a new issue