Bug fix
This commit is contained in:
parent
73c6e0c6d0
commit
830df29dd1
3
components/dist/input.js
vendored
3
components/dist/input.js
vendored
@ -178,6 +178,7 @@ smInput.innerHTML = `
|
||||
}
|
||||
.status-icon{
|
||||
margin-right: 0.2rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.status-icon--error{
|
||||
fill: var(--danger-color);
|
||||
@ -254,7 +255,7 @@ customElements.define('sm-input',
|
||||
this.outerContainer = this.shadowRoot.querySelector('.outer-container');
|
||||
this.optionList = this.shadowRoot.querySelector('.datalist');
|
||||
this._helperText = '';
|
||||
this._errorText = '';
|
||||
this._errorText = 'Invalid';
|
||||
this.isRequired = false;
|
||||
this.datalist = [];
|
||||
this.validationFunction = undefined;
|
||||
|
||||
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