Commit 978d45d
committed
Fix enum dirty state issue in form components
Updated dehydrateStateUsing callbacks to handle all \BackedEnum instances instead of specific enum classes in DocumentTypeCategorySwitcher and NavigationResource. This prevents dirty state issues when working with enums in Filament forms.1 parent 555d9af commit 978d45d
File tree
2 files changed
+3
-1
lines changed- src/Filament/Resources
- DocumentTypes/Schemas/Components
2 files changed
+3
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| 268 | + | |
| 269 | + | |
268 | 270 | | |
269 | 271 | | |
270 | 272 | | |
| |||
0 commit comments