bug fix
This commit is contained in:
parent
196007727b
commit
a8674e4d7a
2
components/dist/input.js
vendored
2
components/dist/input.js
vendored
@ -351,7 +351,7 @@ customElements.define('sm-input',
|
||||
const _isValid = this.input.checkValidity();
|
||||
let _validity
|
||||
if (this.validationFunction) {
|
||||
_validity = Boolean(this.validationFunction(this.input.value));
|
||||
_validity = this.validationFunction(this.input.value);
|
||||
}
|
||||
if (_isValid && _validity.isValid) {
|
||||
this.feedbackText.className = 'feedback-text success';
|
||||
|
||||
2
components/dist/input.min.js
vendored
2
components/dist/input.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user