Adding a reflect property option to the name property (#1716)

This commit is contained in:
Fred
2025-11-17 17:15:18 -05:00
committed by GitHub
parent 2491ca45ac
commit 8fb521d9ef

View File

@@ -119,7 +119,7 @@ export default class WaSelect extends WebAwesomeFormAssociatedElement {
@state() optionValues: Set<string | null> | undefined;
/** The name of the select, submitted as a name/value pair with form data. */
@property() name = '';
@property({ reflect: true }) name = '';
private _defaultValue: null | string | string[] = null;