Need to pass conditional parameters


#1

Can I pass the second parameter based on first parameter value?

For an example:

I have two views in the above demo, there I define second parameters ‘tab’ in the second view. It should be available only on the second view. But, while I’m switching to the first view, ‘tab’ param is still there in first view’s URL.

How to remove tab param while changing?

How to make it available only on second view?