I am working on a project which implements a custom views filter; more specifically based on the InOperator class.
Everything works with both my custom filter, and the filter provided in the referenced guide whilst inspecting in the views preview, however when the view is saved, the website crashes with the following error:
InvalidArgumentException: The configuration property display.default.display_options.filters.node_titles.value.my_title doesn't exist. in Drupal\Core\Config\Schema\ArrayElement->get() (line 74 of core/lib/Drupal/Core/Config/Schema/ArrayElement.php)
Any advice on how to fix this or if there are any steps that have been missed out would be greatly appreciated; even if a link could be provided to more recent documentation as I have not found much on this subject other than reading through the base classes. Even then I cannot find any reference to the error which is displayed.
- Download the module in the linked repo and enable on a D8 site.
- Create a view of nodes.
- Add the 'Node titles' filter and select an option.
- Save the view.
Many thanks in advance.