Skip to content

Commit

Permalink
Allow empty datastore values
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLowe1002 committed May 29, 2024
1 parent 605dbbe commit a0bca35
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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')"
/>

Expand Down

0 comments on commit a0bca35

Please sign in to comment.