We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91bb857 commit eeb57dfCopy full SHA for eeb57df
src/Turbo/README.md
@@ -161,9 +161,8 @@ for this situation.
161
> Turbo Drive doesn't send element with empty value:
162
163
```php
164
-$form = $this->createFormBuilder($task)
165
- ->add('task', TextType::class)
166
- ->add('dueDate', DateType::class)
+$builder
+ // ...
167
->add('save', SubmitType::class, [
168
'label' => 'Create Task',
169
'attr' => [
@@ -175,8 +174,7 @@ $form = $this->createFormBuilder($task)
175
174
176
'value' => 'save-and-add'
177
]
178
- ])
179
- ->getForm();
+ ]);
180
```
181
182
#### More Turbo Drive Info
0 commit comments