pixiebrix-extension icon indicating copy to clipboard operation
pixiebrix-extension copied to clipboard

Improve support for dropdowns in Document Builder

Open twschiller opened this issue 3 years ago • 0 comments

Context

  • As a Document Builder, I want to vary the content of the sidebar based on what the user has selected from a dropdown
  • Current way to implement this would be implemented with Custom Form attached to the Page State, with the sidebar set to re-render on Page State changes

Improvement Ideas

  • Provide "auto-submit" on field blur instead of having to click submit
  • Can the sidebar refresh automatically without having to wire-up the the Page State

Example Use Cases

  • Slack: choose a channel

Related

  • https://www.loom.com/share/cdc53661e53547828853072f3a1f26cb

    So if I could trigger Show Sidebar on Submit button press OR if I could just remove the submit button (so like "auto-submit based on dropdown selection) and then rename "Refresh" to "Submit," this actually isn't that bad

  • Prepping the data from dynamic sources requires using JQ to create the labels/values

twschiller avatar Aug 15 '22 16:08 twschiller