diff --git a/js/components/options_input.js b/js/components/options_input.js index cf1583a4..a04ed230 100644 --- a/js/components/options_input.js +++ b/js/components/options_input.js @@ -12,9 +12,10 @@ export default { data: function () { + const showError = (this.initialErrors && this.initialErrors.length) || false return { - showError: (this.initialErrors && this.initialErrors.length) || false, - showValid: !!this.initialValue, + showError: showError, + showValid: !showError && !!this.initialValue, validationError: this.initialErrors.join(' ') } },