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
In removeDefaults.ts, I would expect equals to be used (if defined) to check for equality between default and encoded value. If there is no equals, shallowEqual should be used instead.
Now, when I set a value that is not ===, but equals() to the default, the param is still present in the URL for no reason.
The text was updated successfully, but these errors were encountered:
+1.
I'm using the withDefault(NumericArrayParam, [0, 100]); with the removeDefaultsFromUrl but it is not removed from the URL when the value did not change.
In removeDefaults.ts, I would expect equals to be used (if defined) to check for equality between default and encoded value. If there is no equals, shallowEqual should be used instead.
Now, when I set a value that is not ===, but equals() to the default, the param is still present in the URL for no reason.
The text was updated successfully, but these errors were encountered: