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

Graphene: Resource support for the search attribute of the Combox type fields #197

Open
alikemaltanriverdi opened this issue Feb 10, 2022 · 3 comments

Comments

@alikemaltanriverdi
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
We are developing a new MicroApp in Graphene, and the MicroApp is using comboxes (smallcombo) to list all of the users that is returned as response from an API. Since loading all of the users at the same time will cause problems, we need to use the combobox as a custom user search field. Since the needed API is not a public API, and it is enforcing using API credentials, the combobox cannot make requests to the API mentioned.

Describe the solution you'd like
We need combobox type fields of Graphene to have a "Search" attribute editable (and visible for an easier developer use) in its Display or Options section in the form builder, and we also need them to have the ability to use resources of a microapp/ workflow so we can make secure API requests (GET request?).

Additional context
If additional information is needed, please contact to @alikemaltanriverdi

@timcortesi
Copy link
Member

@Cloverstone -- can you please bump this up in terms of priority? This is needed for the IAM Project.

@Cloverstone
Copy link
Member

Cloverstone commented Feb 11, 2022 via email

@alikemaltanriverdi
Copy link
Collaborator Author

@Cloverstone not sure if I am using the "Search Target" attribute of the user type field correctly, but I do not think that it is finding the users as expected.

  • When I just use the name of the resource, it cannot find the data in the resources.
  • When I just put a public github link in there, it kind of finds the data, but cannot show it properly.
  • And also, search target doesn't show the existing resources, so I am not exactly sure what is intended to be put in "Search Target" attribute in order to utilize it.

Please see the new_form form in http://portalawsdev.binghamton.edu/admin/apps/278#forms to if I am using the attribute correctly. Otherwise, can you please describe how to use it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants