WuYongJie 9595267ee7
Some checks failed
Tests / PHP 8.1 (push) Has been cancelled
Tests / PHP 8.2 (push) Has been cancelled
Tests / PHP 8.3 (push) Has been cancelled
chore: 导入 Akaunting 初始源码与团队协作规则
2026-07-20 18:20:25 +08:00

27 lines
833 B
PHP

@php
$class= 'w-full h-24 text-sm px-3 py-2.5 mt-1 rounded-lg border border-light-gray text-black placeholder-light-gray bg-white disabled:bg-gray-200 focus:outline-none focus:ring-transparent focus:border-purple';
if ($attributes->has('override')) {
$class = $attributes->get('override');
} elseif ($attributes->get('class')) {
$class .= ' ' . $attributes->get('class');
}
@endphp
<textarea
name="{{ $name }}"
id="{{ $id }}"
class="{{ $class }}"
rows="{{ $rows }}"
placeholder="{{ $placeholder }}"
@if ($disabled)
disabled="disabled"
@endif
@if ($required)
required="required"
@endif
@if ($readonly)
readonly="readonly"
@endif
{{ $attributes->except(['rows', 'placeholder', 'disabled', 'required', 'readonly']) }}
>{{ $value }}</textarea>