Skip to content

Commit

Permalink
Update data-binding.md
Browse files Browse the repository at this point in the history
  • Loading branch information
andyexeter committed May 9, 2023
1 parent 0fab9ba commit 872be2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/data-binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ $data = [
'active' => true,
];

$builder = new \Palmtree\Form\FormBuilder([], $data);
$builder = new \Palmtree\Form\FormBuilder('some_form_key', $data);
```

When using an array to populate the form the array will not be updated when the form is submitted because it
Expand Down

0 comments on commit 872be2e

Please sign in to comment.