Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions labs/behaviors/form-submitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export interface FormSubmitter {
* - reset: The element resets the form.
* - button: The element does nothing.
*/
type: FormSubmitterType;
type: string;

/**
* The HTML name to use in form submission. When combined with a `value`, the
Expand Down Expand Up @@ -77,7 +77,7 @@ export function mixinFormSubmitter<
T extends MixinBase<LitElement & WithElementInternals>,
>(base: T): MixinReturn<T, FormSubmitter> {
abstract class FormSubmitterElement extends base implements FormSubmitter {
@property() type: FormSubmitterType = 'submit';
@property() type = 'submit';
@property({reflect: true}) value = '';

// Name attribute must reflect synchronously for form integration.
Expand Down
Loading