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 3048968 commit 5cfc919Copy full SHA for 5cfc919
resources/js/composables/usePaginatedData.ts
@@ -62,6 +62,7 @@ export function usePaginatedData(
62
const params = qs.parse(queryString, {
63
ignoreQueryPrefix: true,
64
strictNullHandling: true,
65
+ // set empty string values to null to match Laravel backend behavior
66
decoder: function (str, defaultDecoder) {
67
const value = defaultDecoder(str);
68
return value === '' ? null : value;
0 commit comments