For both GOV.UK and TPR styles we have 'Block list' and 'No forms block list' data types. The 'No forms' version is a subset of the main one. The original intention was that it would provide a simpler UI for editors on pages where we knew no forms would be needed.
In reality we're not building applications that way at TPR so we don't need it. However every time we add or update a component in this repo we have to repeat the configuration for every variation, so removing support will reduce the maintenance overhead.
It's a breaking change but we're about to go to v6.0.0 so this is the time to do it. Before upgrading each application should attempt to delete the data type manually, and you get a warning like this one:
Go to each document type where it says the data type is in use and change it to the full version, then nothing breaks and you can upgrade and delete the now-redundant data types. This just changes a GUID as you can see in the example app for this PR.
For both GOV.UK and TPR styles we have 'Block list' and 'No forms block list' data types. The 'No forms' version is a subset of the main one. The original intention was that it would provide a simpler UI for editors on pages where we knew no forms would be needed.
In reality we're not building applications that way at TPR so we don't need it. However every time we add or update a component in this repo we have to repeat the configuration for every variation, so removing support will reduce the maintenance overhead.
It's a breaking change but we're about to go to v6.0.0 so this is the time to do it. Before upgrading each application should attempt to delete the data type manually, and you get a warning like this one:
Go to each document type where it says the data type is in use and change it to the full version, then nothing breaks and you can upgrade and delete the now-redundant data types. This just changes a GUID as you can see in the example app for this PR.