You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 2, 2024. It is now read-only.
There is no configuration needed unless you want to [customize the Blade views and components](#customize-the-blade-views).
35
35
36
36
## Quick example
37
37
@@ -140,6 +140,20 @@ You can even mix targets!
140
140
</x-form>
141
141
```
142
142
143
+
### Override or remove a binding
144
+
145
+
You can override the `@bind` directive by passing a target directly to the element using the `:bind` attribute. If you want to remove a binding for a specific element, pass in `false`.
Besides the `name` attribute, the `select` element has a required `options` attribute, which should be a simple *key-value* array.
@@ -191,13 +205,13 @@ You can group checkbox and radio elements on the same horizontal row by adding a
191
205
</x-form-group>
192
206
```
193
207
194
-
### Old data
208
+
### Old input data
195
209
196
-
*todo*
210
+
When a validation errors occurs, and Laravel redirects you back, the form will be re-populated with the old input data. This old data will override any binding or default value.
0 commit comments