Ability to hide options on retool mobile action sheet

I would like to have certain options conditionally available in a retool mobile app, doesn't look like that is a possibility at the moment. any good workarounds or am I missing something?

best I can think of is having a notification show (and not running desired query) if it doesn't meet the criteria

@DavidD not a great workaround but you can trigger action sheets from JS Query success handlers. So you can have a query with the following

if (showAllOptions) {
  queryToShowAllOptions.trigger()
} else {
  queryToShowLimitedOptions.trigger()
}

Then in the success handler section for queryToShowAllOptions and queryToShowLimitedOptions you can set the action sheet configs differently.

2 Likes

frustrating way to do it, but if it works, I can't complain. thanks!

1 Like