feat: implement deepEquals function and enhance form service validation

This commit is contained in:
puriphatt 2025-01-06 16:45:26 +07:00
parent 2aa397678d
commit be1559ac4f
3 changed files with 125 additions and 13 deletions

View file

@ -180,9 +180,11 @@ const detailEditorImageDrop = createEditorImageDrop(detail);
>
<q-editor
dense
:model-value="readonly ? detail || '-' : detail || ''"
:model-value="
readonly ? serviceDescription || '-' : serviceDescription || ''
"
@update:model-value="
(v) => (typeof v === 'string' ? (detail = v) : '')
(v) => (typeof v === 'string' ? (serviceDescription = v) : '')
"
@drop="detailEditorImageDrop"
min-height="5rem"