1

Sometimes my app navigates to a route with empty parameters in the querystring, like this cars.com/search;year=2010;model=;brand=Mazda. But Angular is automatically updating the empty querystring parameters to 'true', changing the URL to read cars.com/search;year=2010;model=true;brand=Mazda. This screws up my data binding. How do I keep empty querystring parameters from defaulting to 'true'?

I'm using Angular2 rc4 and @angular/router v3.0.0-beta1.

3
  • please add some code Commented Jul 27, 2016 at 15:51
  • Please reproduce in plunker. Commented Jul 27, 2016 at 17:10
  • I've added an answer to the same question here Commented Aug 30, 2016 at 16:33

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.