Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Always expanding on Order Guide "Options"

Andrew112
Mega Guru

Is there a way to always expand the order guide "options" on the service portal ? 

aria-expanded="true" didn't seem to work.

Any help appreciated.

1 ACCEPTED SOLUTION

Allen Andreas
Tera Patron

Hi,

I believe the logic is setup to always expand if the amount of "variables" is greater than 0, so always expanded if there's something there.

<div ng-if="data.variables.length > 0" ng-init="c.variable_toggle = true">

Are you saying you want it to always be expanded, even when empty? And to basically remove the toggle?

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

5 REPLIES 5

I want it to always expand if there is at least 1 item to show.  Right now even if there is 1 item to show it doesnt expand.