- Issue created by @ryanrobinson_wlu
- 🇳🇴Norway hansfn
Thank you for the report. I'll fix this. Configuration inspector seems like a nice module
The module does have a schema file, but it seems to be missing some keys. With configuration inspector → installed, and the send email field added to a view, I get undefined config entries like:
display.page_5.display_options.fields.views_send_bulk_form.action_title
display.page_5.display_options.fields.views_send_bulk_form.include_exclude
display.page_5.display_options.fields.views_send_bulk_form.selected_actions
display.page_5.display_options.fields.views_send_bulk_form.enable_excluded_fields
Install the module with config inspector. Add a send email field to a view. It will generate the config with undefined schema entries.
Add to the existing schema file, or another file in the schema folder, something like:
views.field.views_send_bulk_form:
type: views_field
label: "Views send bulk form"
mapping:
action_title:
type: label
label: "Action title"
include_exclude:
type: label
label: "Include / Exclude"
selected_actions: {}
enable_excluded_fields:
type: boolean
label: "Use excluded fields as tokens"
I'm just starting to learn more about how config schemas work, so there might be ways to make that better - at least write better labels - but it did resolve all of the errors except selected_actions. Not sure what I'm missing with that one. I'm also not even sure what most of these keys are doing, because the only one that I can see on the form is enable_excluded_fields.
Active
2.0
Code
Thank you for the report. I'll fix this. Configuration inspector seems like a nice module