Skip to content

Commit

Permalink
Docs<list-rendering>: complete example (#806)
Browse files Browse the repository at this point in the history
Co-authored-by: songtan <[email protected]>
  • Loading branch information
Oc1S and songtan authored Jul 18, 2024
1 parent 6efc333 commit ec4beee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/concepts/control-flow/list-rendering.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ If you were using `<For>`, the entire list would be re-rendered when a value cha
import { createSignal, Index } from "solid-js"

function FormList() {

const [inputs, setInputs] = createSignal(['input1','input2','input3'])
return(
<form>
<Index each={inputs()}>
Expand Down

0 comments on commit ec4beee

Please sign in to comment.