kopia lustrzana https://github.com/shoelace-style/shoelace
				
				
				
			Merge branch 'next' of github.com:Buni48/shoelace into Buni48-next
						commit
						200d340123
					
				| 
						 | 
				
			
			@ -299,7 +299,8 @@ export default class SlInput extends LitElement {
 | 
			
		|||
    const hasHelpTextSlot = this.hasSlotController.test('help-text');
 | 
			
		||||
    const hasLabel = this.label ? true : !!hasLabelSlot;
 | 
			
		||||
    const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;
 | 
			
		||||
    const hasClearIcon = this.clearable && !this.disabled && !this.readonly && this.value.length > 0;
 | 
			
		||||
    const hasClearIcon =
 | 
			
		||||
      this.clearable && !this.disabled && !this.readonly && (typeof this.value === 'number' || this.value.length > 0);
 | 
			
		||||
 | 
			
		||||
    return html`
 | 
			
		||||
      <div
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue