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

feat: make attachment type field list configurable in config #59

Merged
merged 1 commit into from
May 29, 2023

Conversation

erral
Copy link
Member

@erral erral commented Mar 1, 2023

Right now only the field type "attachment" is sent as attachment to the back-end endpoint.

This these changes, we make the attachment field list configurable at block level, to be able to add additional field types there, for instance, those that can be added as additional fields with additional checks or whatever.

@cekk
Copy link

cekk commented Mar 3, 2023

LGTM..do we need also a fix on the backend, right?

@erral
Copy link
Member Author

erral commented Mar 3, 2023

No, the backend already handles this, with this fix what we do to have the widget list configurable, otherwise only the field whose widget is "attachment" is sent as an attachment.

In our case, we have prepared more widgets to attach files, and we need to be able to signal that are attachments.

@pnicolli pnicolli merged commit 55cfe9d into main May 29, 2023
@pnicolli pnicolli deleted the configurable_attachments branch May 29, 2023 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants