mirror of
https://github.com/FJurmanovic/wallet-web.git
synced 2026-02-06 06:08:10 +00:00
custom callbacks from base element
This commit is contained in:
@@ -24,10 +24,10 @@ class InputFieldElement extends BaseComponentElement {
|
||||
super();
|
||||
}
|
||||
|
||||
public connectedCallback(): void {
|
||||
public elementConnected = () => {
|
||||
this.randId = `${name}${randomId()}`;
|
||||
this.update();
|
||||
}
|
||||
};
|
||||
|
||||
get valid(): boolean {
|
||||
return !!this.error;
|
||||
|
||||
Reference in New Issue
Block a user