From e5ed2fe25788bdb21aaf4a1ac7037d29c2e86dc4 Mon Sep 17 00:00:00 2001 From: Elizabeth Mitchell Date: Thu, 12 Mar 2026 13:36:36 -0700 Subject: [PATCH] chore: relax type property of mixinFormSubmitter to string PiperOrigin-RevId: 882754633 --- labs/behaviors/form-submitter.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/labs/behaviors/form-submitter.ts b/labs/behaviors/form-submitter.ts index c0c5abaec7..95cbf438bd 100644 --- a/labs/behaviors/form-submitter.ts +++ b/labs/behaviors/form-submitter.ts @@ -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 @@ -77,7 +77,7 @@ export function mixinFormSubmitter< T extends MixinBase, >(base: T): MixinReturn { 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.