Export "error-message" part
This commit is contained in:
parent
11a06bb073
commit
1951d9bbba
@ -49,7 +49,7 @@ class TpNumberInput extends FormElement(EventHelpers(DomQuery(LitElement))) {
|
||||
const { disabled, invalid, errorMessage, required, autofocus, _internValue } = this;
|
||||
|
||||
return html`
|
||||
<tp-input id="input" exportparts="wrap" .disabled=${disabled} .invalid=${invalid} .value=${_internValue} .autofocus=${autofocus} .errorMessage=${errorMessage} .required=${required}>
|
||||
<tp-input id="input" exportparts="wrap, error-message" .disabled=${disabled} .invalid=${invalid} .value=${_internValue} .autofocus=${autofocus} .errorMessage=${errorMessage} .required=${required}>
|
||||
<div slot="prefix">
|
||||
<tp-icon id="sub" part="icons" .icon=${this.decreaseIcon || TpNumberInput.defaultDecreaseIcon} .tooltip=${this.decreaseTooltip}></tp-icon>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user