Browse Source

Merge pull request #7978 from nocodb/nc-fix/prefix-form

Nc fix(nc-gui): prefill currency readonly field ui alignment issue
pull/7969/head
Ramesh Mane 7 months ago committed by GitHub
parent
commit
ee363f897f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      packages/nc-gui/components/cell/Currency.vue

3
packages/nc-gui/components/cell/Currency.vue

@ -112,13 +112,14 @@ onMounted(() => {
</span>
</div>
<input
v-if="!readOnly && editEnabled"
v-if="(!readOnly && editEnabled) || (isForm && !isEditColumn)"
:ref="focus"
v-model="vModel"
type="number"
class="nc-cell-field h-full text-sm border-none rounded-md py-1 outline-none focus:outline-none focus:ring-0"
:class="isForm && !isEditColumn ? 'flex flex-1' : 'w-full'"
:placeholder="isEditColumn ? $t('labels.optional') : ''"
:disabled="readOnly"
@blur="onBlur"
@keydown.enter="onKeydownEnter"
@keydown.down.stop

Loading…
Cancel
Save