close #1552 Fixed: Text Editor value can not change

This commit is contained in:
Cüneyt Şentürk
2020-07-28 16:34:45 +03:00
parent 2c2c22958a
commit 8509b6f5ef
2 changed files with 27 additions and 12 deletions

View File

@ -10,12 +10,8 @@
<akaunting-html-editor
name="{{ $name }}"
@if (!empty($attributes['v-model']))
:value="{{ $attributes['v-model'] . ' = ' . `$value` }}"
@elseif (!empty($attributes['data-field']))
:value="{{ 'form.' . $attributes['data-field'] . '.' . $name . ' = '. `$value` }}"
@else
:value="form.{{ $name }} = `{{ $value }}`"
@if (!empty($value))
:value="{{ `$value` }}"
@endif
@if (!empty($attributes['v-model']))