Skip to content

[C2] Frontend validator of JSON in platform settings #6199

@ywarnier

Description

@ywarnier

In C2, we use JSON for some advanced settings in the platform settings section.
To avoid issues with wrongly-formed JSON by inexperienced users, find a JS validator of JSON and add it to the form elements of textarea type in the admin. If there is a syntax error, mark a red message at the bottom of the edition area to indicate that the format is invalid. Only refresh every 3 seconds.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions