Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: dropdown list keeps loading #4793

Open
ahmad-swanblocks opened this issue May 27, 2024 · 1 comment
Open

[BUG]: dropdown list keeps loading #4793

ahmad-swanblocks opened this issue May 27, 2024 · 1 comment
Labels
blocked: waiting-response waiting a response from the user

Comments

@ahmad-swanblocks
Copy link

Describe the bug
When I create a simple dropdown list with static values in some action and then add the action to the workflow using the workflow designer, the list keeps loading even if the values are static (not loaded from external APIs). Sometimes the values are loaded but after a long time.

Screenshots
image

Code:

  paymentType: Property.Dropdown({ 
    displayName: 'Payment Type',
    description: 'Select payment type (optional)',
    required: false,
    refreshers: [],
    options: async () => {
      return {
        options: [
          { value: 1, label: 'Cash' },
          { value: 2, label: 'Credit' },
        ],
      };
    },
  })
@abuaboud
Copy link
Contributor

Can you please try using Static Dropdown here.

https://www.activepieces.com/docs/developers/piece-reference/properties#static-dropdown

And Is there any error logs in the backend?

@abuaboud abuaboud added the blocked: waiting-response waiting a response from the user label May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked: waiting-response waiting a response from the user
Projects
None yet
Development

No branches or pull requests

2 participants