MCPcopy Create free account
hub / github.com/TanStack/devtools / handleChange

Function handleChange

packages/devtools-ui/src/components/input.tsx:17–21  ·  view source on GitHub ↗
(e: Event)

Source from the content-addressed store, hash-verified

15 const [val, setVal] = createSignal(() => props.value || '')
16 const id = createUniqueId()
17 const descriptionId = `${id}-description`
18
19 const handleChange = (e: Event) => {
20 const value = (e.target as HTMLInputElement).value
21 setVal(value)
22 props.onChange?.(value)
23 }
24

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected