MCPcopy Index your code
hub / github.com/github/awesome-copilot / clearSelectValues

Function clearSelectValues

website/src/scripts/pages/select-utils.ts:14–19  ·  view source on GitHub ↗
(select: HTMLSelectElement | null)

Source from the content-addressed store, hash-verified

12}
13
14export function clearSelectValues(select: HTMLSelectElement | null): void {
15 if (!select) return;
16 Array.from(select.options).forEach((option) => {
17 option.selected = false;
18 });
19}

Callers 4

initInstructionsPageFunction · 0.90
initWorkflowsPageFunction · 0.90
initHooksPageFunction · 0.90
initPluginsPageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected