Walkthroughs
5) Load options
Load options allow the element developer to pre-populate a dropdown list (or another type of field) in the UI. For example, a list of Slack channel names that a user can post to.
The load options function has to be defined in the doflo.jsonc file, an example can be found here:https://github.com/doflo-elements/flow-element-slack/blob/main/doflo.jsonc#L157
Followed by implementation, an example of which can be found here:https://github.com/doflo-elements/flow-element-slack/blob/main/remote/src/SlackSignal.ts#L28