refactor: update optionStore mapping to include 'propertiesField' for better context
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 9s

This commit is contained in:
puriphatt 2025-03-11 13:16:12 +07:00
parent c9c0535fa1
commit 55834bf450
4 changed files with 23 additions and 5 deletions

View file

@ -164,12 +164,15 @@ defineEmits<{
class="row items-center q-pb-sm"
>
<article class="col-5">
{{ i + 1 }} {{ optionStore.mapOption(prop.fieldName) }}
{{ i + 1 }}
{{ optionStore.mapOption(prop.fieldName, 'propertiesField') }}
</article>
<PropertiesToInput
:readonly="!state.isEdit || readonlyField.includes(prop.fieldName)"
:prop="prop"
:placeholder="optionStore.mapOption(prop.fieldName)"
:placeholder="
optionStore.mapOption(prop.fieldName, 'propertiesField')
"
v-model="formData[prop.fieldName]"
/>
</span>