Add readonly attribute for text editor

This commit is contained in:
Burak Çakırel
2021-04-07 17:53:54 +03:00
parent d113eb105c
commit de5df6012a
2 changed files with 10 additions and 1 deletions

View File

@@ -31,6 +31,10 @@
@if (isset($attributes['disabled']))
:disabled="{{ $attributes['disabled'] }}"
@endif
@if (isset($attributes['readonly']))
:readonly="{{ $attributes['readonly'] }}"
@endif
></akaunting-html-editor>
<div class="invalid-feedback d-block"