2

I have a Sitecore SXA dropdown filter on the page. On page load, by default first item is getting selected (All). I would like to provide the default value that should be selected on page load.

For example, I would like to configure Deer option selected on page load.

I was thinking of writing JavaScript but that will be hardcoded / page specific. We might want to configure a different default selected value on different pages.

What is the easiest way to achieve this?

dropdown list in SXA

0

Your Answer

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

Browse other questions tagged or ask your own question.