How do we hide an interface which is called inside the main interface? i need to hide the box after selecting the request type in the dropdown field.
Discussion posts and replies are publicly visible
shwetaparnab0001 Take a ri!parameter in your child interface for showWhen(Boolean) and pass this to your child interface from parent interface ,initially it will be true.Once your dropdown is selected make it as false. Add showWhen parameter in your parent interface and hide the visibiblity.
@dineshd001 could you please explain this to me with an example?
shwetaparnab0001 As per my understanding in the below snippet assume that your dropdown is in rule!b and based upon that value you need to hide rule!A.In rule!A pass this showWhen and hide the interface.
Note: rule!A should also be in with()
load( local!showWhen:true(), local!dummyParam, with( a!formLayout( label:"", contents: { rule!A(showWhen:local!showWhen), rule!B(dummyParam:local!dummyParam, showWhen:local!showWhen) } )))
Thank you :)