hasura / hasura/graphql-engine
In create Action "Forward client headers to webhook" does not save first time.
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
### Version Information
Server Version:
2.1.1
### Environment
Console running on Docker. Mac OS host.
### What is the expected behaviour? & What is the current behaviour?
When clicking the checkbox "Forward client headers to webhook" when creating an action. It does not save. Once the action reports successfully created via the toast UI in the upper right the checkbox is checked and green but on page refresh it will always be unchecked. User needs to then check it again and save to actually have the value saved as checked.
Pretty sure the underlying form is missing this value when sending to the server the first time.
### Keywords
forward, client, headers, webhook, action
### How to reproduce the issue?
1. Console
2. Click Actions
3. Create Action with "Forward client headers to webhook" checked
4. Save
5. See "Forward client headers to webhook" still checked
6. Refresh page
7. "Forward client headers to webhook" is unchecked
### Screenshots or Screencast
no
### Please provide any traces or logs that could help here.
n/a
### Any possible solutions?
Fix the form I'm guessing
### Can you identify the location in the source code where the problem exists?
no
### If the bug is confirmed, would you be willing to submit a PR?
Sorry, no hablo Haskell
Contributor guide
Assessment
This issue has not been assessed yet.