mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-04 02:45:53 +08:00
Fix number range edit mode
This commit is contained in:
parent
7de7a637f2
commit
725f9f1934
1 changed files with 2 additions and 1 deletions
|
@ -87,7 +87,8 @@ export default {
|
|||
return [['between', 'Between']];
|
||||
},
|
||||
responseValidationIsValid() {
|
||||
return (this.responseValidation.min < this.responseValidation.max) || !this.responseValidationEnabled;
|
||||
return (this.responseValidation.min && this.responseValidation.max && this.responseValidation.min < this.responseValidation.max)
|
||||
|| !this.responseValidationEnabled;
|
||||
},
|
||||
validField() {
|
||||
return this.responseValidationIsValid && this.unitValid && this.validationMessageValid;
|
||||
|
|
Loading…
Add table
Reference in a new issue