Closed namti closed 9 months ago
Could you confirm if you are trying to set the Header in the select component request? Because that is part of the choices.js and Select Component configuration.
The header access-key
value changes every time when the form is rendered. A form may contain many select components or different components that load data from APIs. It would be great to be able to set global request headers.
We're currently addressing a backlog of GitHub issues. Closing this thread as it is outdated. Please re-open if it is still relevant. Thank you for your contribution!
Environment
Expected behavior
The API for the select component needs
access-key
header to authenticate.I followed the document and found there is
Headers
option could be modified. https://help.form.io/developers/form-renderer#overriding-behaviorThe request headers should include
access-key: xxxxxxxxxxxxx
Observed behavior
No
access-key
header sent.Example