WIP Улучшен textarea

This commit is contained in:
Daria Golova
2022-12-08 12:28:50 +03:00
parent a4eb3b9b31
commit 9fece6b570
2 changed files with 11 additions and 3 deletions

View File

@@ -64,9 +64,10 @@
span.title-section.font-semibold.text-xs(v-if="item.header") {{item.header}}
client-detail-input.text-sm.w-max-fit(
v-if="section!=='docs' && isChange && settings[section].options[key] !== 'Дата выдачи'",
:style="{fontWeight:key === 'numba'&&600, maxHeight: settings[section].options[key] !== 'Выдан' ? '40px' : ''}",
:style="{fontWeight:key === 'numba'&&600, maxHeight: settings[section].options[key] !== 'Выдан' ? '' : ''}",
v-model:value="sectionInfo[key]",
:width="settings[section].width",
:rows="section ==='pass' ? 2 : 1",
:placeholder="settings[section].placeholder[key]"
:sharp="settings[section].sharps[key] && section === 'pass' ? settings[section].sharps[key] : ''"
)