Skip to content

Commit 5e798c3

Browse files
authored
Merge pull request #834 from ercole-io/oracle-licenses-contracts-form-new-fields
Status and Product Order Date are not mandatory
2 parents 3c9592d + aedcb25 commit 5e798c3

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

src/components/licenses/contracts/Oracle/OracleContractsForm.vue

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -175,30 +175,13 @@
175175
/>
176176
</b-field>
177177

178-
<b-field
179-
label="Status"
180-
custom-class="is-small"
181-
expanded
182-
:type="{
183-
'is-danger': $v.oracleForm.status.$error,
184-
}"
185-
>
178+
<b-field label="Status" custom-class="is-small" expanded>
186179
<b-input
187-
@blur="$v.oracleForm.status.$touch()"
188-
@input="$v.oracleForm.status.$touch()"
189180
size="is-small"
190181
type="text"
191182
v-model="oracleForm.status"
192183
data-cy="oracle-status"
193184
/>
194-
195-
<template #message>
196-
<div
197-
v-if="!$v.oracleForm.status.required && $v.oracleForm.status.$error"
198-
>
199-
{{ $i18n.t('common.validations.requiredAlt') }}
200-
</div>
201-
</template>
202185
</b-field>
203186

204187
<b-field label="Product Order Date" custom-class="is-small" expanded>
@@ -396,9 +379,6 @@ export default {
396379
}),
397380
decimal,
398381
},
399-
status: {
400-
required,
401-
},
402382
},
403383
},
404384
data() {

0 commit comments

Comments
 (0)