This commit is contained in:
sairaj mote 2023-08-31 14:07:09 +05:30
parent 73c6e0c6d0
commit 830df29dd1
2 changed files with 3 additions and 2 deletions

View File

@ -178,6 +178,7 @@ smInput.innerHTML = `
} }
.status-icon{ .status-icon{
margin-right: 0.2rem; margin-right: 0.2rem;
flex-shrink: 0;
} }
.status-icon--error{ .status-icon--error{
fill: var(--danger-color); fill: var(--danger-color);
@ -254,7 +255,7 @@ customElements.define('sm-input',
this.outerContainer = this.shadowRoot.querySelector('.outer-container'); this.outerContainer = this.shadowRoot.querySelector('.outer-container');
this.optionList = this.shadowRoot.querySelector('.datalist'); this.optionList = this.shadowRoot.querySelector('.datalist');
this._helperText = ''; this._helperText = '';
this._errorText = ''; this._errorText = 'Invalid';
this.isRequired = false; this.isRequired = false;
this.datalist = []; this.datalist = [];
this.validationFunction = undefined; this.validationFunction = undefined;

File diff suppressed because one or more lines are too long