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
Copy file name to clipboardExpand all lines: guides/upgrading/v0.15.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,3 +54,12 @@ Note that it is now also possible to configure the layout as a function:
54
54
useBackpex.LiveResource,
55
55
layout:&MyAppWeb.admin/1
56
56
```
57
+
58
+
## Resource.update/6 has been changed
59
+
60
+
We no longer pass the `fields` to `Resource.update/6`. Therefore, the arity of this functions has changed to `Backpex.Resource.update/5`. This aligns the function `insert` and `update` of the Resource module.
61
+
62
+
## `:only`/`:except` field option changes
63
+
64
+
You no longer need to pass `:resource_action` in addition to `:index` to the fields `:only`/`:except` option.
65
+
Before, it was needed to make fields visible behind the backdrop of the resource action modal.
0 commit comments