fix: exclude Float & Currency from read only formcontrol
(cherry picked from commit e804fa39ba543ebbb81d28a6d6d49b7db6753aec)
This commit is contained in:
parent
701178cdcf
commit
019662052a
@ -93,7 +93,10 @@
|
||||
:key="field.fieldname"
|
||||
>
|
||||
<FormControl
|
||||
v-if="field.read_only && field.fieldtype !== 'Check'"
|
||||
v-if="
|
||||
field.read_only &&
|
||||
!['Float', 'Currency', 'Check'].includes(field.fieldtype)
|
||||
"
|
||||
type="text"
|
||||
:placeholder="field.placeholder"
|
||||
v-model="row[field.fieldname]"
|
||||
|
||||
@ -12,7 +12,10 @@
|
||||
>
|
||||
</div>
|
||||
<FormControl
|
||||
v-if="field.read_only && field.fieldtype !== 'Check'"
|
||||
v-if="
|
||||
field.read_only &&
|
||||
!['Float', 'Currency', 'Check'].includes(field.fieldtype)
|
||||
"
|
||||
type="text"
|
||||
:placeholder="getPlaceholder(field)"
|
||||
v-model="data[field.fieldname]"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user