diff --git a/src/tools/builder/src/modals/add-datastore-value/add-datastore-value-model.ts b/src/tools/builder/src/modals/add-datastore-value/add-datastore-value-model.ts index a34bdea..03654e8 100644 --- a/src/tools/builder/src/modals/add-datastore-value/add-datastore-value-model.ts +++ b/src/tools/builder/src/modals/add-datastore-value/add-datastore-value-model.ts @@ -64,8 +64,7 @@ export class AddDatastoreValueModel extends ModalModelBase { .string() .required(FormUtilities.getValidationMessage("required", [this.getText("type")])), default_value: yup - .string() - .required(FormUtilities.getValidationMessage("required", [this.getText("default-value")])), + .string(), reset: yup .boolean() }; diff --git a/src/tools/builder/src/modals/add-datastore-value/add-datastore-value.vue b/src/tools/builder/src/modals/add-datastore-value/add-datastore-value.vue index 263c58f..61e27ff 100644 --- a/src/tools/builder/src/modals/add-datastore-value/add-datastore-value.vue +++ b/src/tools/builder/src/modals/add-datastore-value/add-datastore-value.vue @@ -38,7 +38,6 @@ :placeholder="modal.getText('enter-default-value')" :error="modal.state.errors['default_value']" :type="modal.state.data['type']" - required @input="modal.validateField('default_value')" />