added label text for switch component

This commit is contained in:
Burak Civan
2022-12-30 14:49:13 +03:00
parent 1333ecc2f2
commit c4c92c9f32
2 changed files with 15 additions and 5 deletions

View File

@ -3,6 +3,7 @@
<akaunting-switch
name="{{ $name }}"
value="{{ (int) $value }}"
label="{{ trans('general.enabled') }}"
@if (! empty($attributes['model']))
:model="{{ $attributes['model'] }}"