Hi Team,
Does anyone know how to display a toggle/Switch control on UI in Pega Constellation 24.2 using a Boolean property.
Hi Team,
Does anyone know how to display a toggle/Switch control on UI in Pega Constellation 24.2 using a Boolean property.
@Ramya Thotakurabuilding DX Components is a great way to extend standard set of controls available in Constellation. Take a look on our recent webinar: Extending Constellation: A Deep Dive into Constellation DX Components | Pega
Hello @Ramya Thotakura,
I assume the above highlighted toggle is what you are looking for , if so please refer to the custom component code from the below GIT repo, you can utilize it directly or draw inspiration from it and build a customized component as per your requirement.
Hope this information helps.
Thank you.
@Ramya ThotakuraBefore going forward with the switch DX component, consider the UX in your usecase. A switch component (or toggle as often called) is generally recommended to switch a state immediately when used, not to indicate a boolean value that then gets persisted on save/submit. Evaluate whether this spec/requirement is based on UX or UI look and feel.
Material design guidelines for reference: Switch – Material Design 3