We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 082faad commit ca6193aCopy full SHA for ca6193a
1 file changed
labs/behaviors/form-submitter.ts
@@ -39,7 +39,7 @@ export interface FormSubmitter {
39
* - reset: The element resets the form.
40
* - button: The element does nothing.
41
*/
42
- type: FormSubmitterType;
+ type: string;
43
44
/**
45
* The HTML name to use in form submission. When combined with a `value`, the
@@ -77,7 +77,7 @@ export function mixinFormSubmitter<
77
T extends MixinBase<LitElement & WithElementInternals>,
78
>(base: T): MixinReturn<T, FormSubmitter> {
79
abstract class FormSubmitterElement extends base implements FormSubmitter {
80
- @property() type: FormSubmitterType = 'submit';
+ @property() type = 'submit';
81
@property({reflect: true}) value = '';
82
83
// Name attribute must reflect synchronously for form integration.
0 commit comments