diff --git a/.changeset/neat-maps-tickle.md b/.changeset/neat-maps-tickle.md new file mode 100644 index 00000000000..d915f03fc86 --- /dev/null +++ b/.changeset/neat-maps-tickle.md @@ -0,0 +1,5 @@ +--- +'@qwik.dev/core': patch +--- + +fix: input's value is string when passing number diff --git a/packages/docs/src/routes/docs/(qwik)/components/rendering/index.mdx b/packages/docs/src/routes/docs/(qwik)/components/rendering/index.mdx index 517f13ecf0a..b76a5c7186e 100644 --- a/packages/docs/src/routes/docs/(qwik)/components/rendering/index.mdx +++ b/packages/docs/src/routes/docs/(qwik)/components/rendering/index.mdx @@ -180,11 +180,17 @@ The `bind:` is compiled away by the Qwik optimizer to a property set and an even import { component$, useSignal } from '@qwik.dev/core'; export default component$(() => { + const count = useSignal(0); const firstName = useSignal(''); const acceptConditions = useSignal(false); return (