fix(core): update
This commit is contained in:
parent
c1e7629f1f
commit
260c4a269a
@ -125,7 +125,7 @@ export class DeesButton extends DeesElement {
|
||||
: null}"
|
||||
@click="${this.dispatchClick}"
|
||||
>
|
||||
${this.text ? this.text : this.textContent}
|
||||
${this.text ? this.text : html`<slot></slot>`}
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ export class DeesFormSubmit extends DeesElement {
|
||||
public static styles = [cssManager.defaultStyles, css``];
|
||||
|
||||
public render() {
|
||||
return html`<dees-button @click="${this.submit}" .disabled="${this.disabled}">${this.text ? this.text : this.textContent}</dees-button> `;
|
||||
return html`<dees-button @click="${this.submit}" .disabled="${this.disabled}">${this.text ? this.text : html`<slot></slot>`}</dees-button> `;
|
||||
}
|
||||
|
||||
public async submit() {
|
||||
|
Loading…
Reference in New Issue
Block a user