I have a list that explicitly uses the modern experience.
The create and edit view are also set to open in a dialog.
Even so, whenever I create a new list item, it opens in its own page in the classic experience. This poses a problem, as one of the required fields is a location column, and when I to fill that field and submit, I get a validation error about an Invalid JSON primitive
.
Weirdly enough, the create view worked just fine through the sidebar dialog last week and I did not change anything other than a column formatting since then.
For completion's sake, this is the column formatting
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
"elmType": "div",
"children": [
{
"elmType": "span",
"txtContent": "@currentField"
},
{
"elmType": "span",
"txtContent": "=if(@currentField != '', 'm²', '')",
"style": {
"padding": "0 1px"
}
}
]
}
Is there any way I can force Sharepoint to use the dialog again? Or at least properly add my location field through the classic view?