salesforce / design-system-react

Salesforce Lightning Design System for React
https://design-system-react-site.herokuapp.com/
BSD 3-Clause "New" or "Revised" License
913 stars 415 forks source link

Expression component feature request: Provide an option to disable certain triggers. #3093

Closed LyDawei closed 1 year ago

LyDawei commented 1 year ago

Hi, I'm currently using the Expression component, however it provides a few too many triggerTypes per the design I was given.

Is there a way to disable certain triggers or even hide them from being displayed?

I hvae an expression builder which allows users to create as many groups as they want, and set the trigger type to all any or custom but not the formula or always types and I'm trying to figure out how to get rid of those options.

welcome[bot] commented 1 year ago

Thanks for opening your first issue! :wave: If you have found this library helpful, please star it. A maintainer will try to respond within 7 days. If you haven’t heard anything by then, please bump this thread.