-
Couldn't load subscription status.
- Fork 0
fix: impossible to submit update action form #3822
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
base: master
Are you sure you want to change the base?
Conversation
| }, | ||
| method: { | ||
| allowedValues: keys(HttpMethod) as Array<HttpMethod>, | ||
| enum: keys(HttpMethod) as Array<HttpMethod>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not directly related to the issue, just noticed that enum fields were generated as plain text field, instead of select component with options. This will fix that
| }, | ||
| ...refSchema('resource'), | ||
| ...refSchema('store', { disabled: true }), | ||
| ...refMaybeSchema('resource', { label: 'Resource' }), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the fix: resource field was a required field, even though it does not exist on code actions
| const actionService = useActionService() | ||
| const { actionDomainService, resourceDomainService } = useDomainStore() | ||
| const actionSchema = useActionSchema(updateActionSchema) | ||
| const { builderService } = useApplicationStore() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just unused dependency
a271ab2 to
b2a1ebc
Compare
Description
Related Issue(s)
Fixes #3821