fix(core): update
This commit is contained in:
parent
362bef15e3
commit
566a7ce148
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@design.estate/dees-catalog',
|
||||
version: '1.0.180',
|
||||
version: '1.0.181',
|
||||
description: 'website for lossless.com'
|
||||
}
|
||||
|
@ -166,6 +166,19 @@ export class DeesForm extends DeesElement {
|
||||
submitButton.text = textStateArg;
|
||||
}
|
||||
|
||||
/**
|
||||
* resets the form
|
||||
*/
|
||||
reset() {
|
||||
const inputChildren = this.getFormElements();
|
||||
const submitButton = this.getSubmitButton();
|
||||
|
||||
for (const inputChild of inputChildren) {
|
||||
inputChild.value = null;
|
||||
}
|
||||
this.setStatus('normal', 'Submit');
|
||||
}
|
||||
|
||||
public async addBehaviours() {
|
||||
// Use event delegation
|
||||
this.addEventListener('keydown', (event: KeyboardEvent) => {
|
||||
|
Loading…
Reference in New Issue
Block a user