[PP-1] Implement client-side validation of block settings

Created on 20 January 2025, 4 months ago

Overview

In πŸ“Œ Implement saving block settings forms Active we added support for saving block settings but we don't have an approach for client-side validation of the settings forms.

For SDC components we send a schema for the component and this is used with ajv to validate inputs.

Proposed resolution

Attempt to add a translation layer from block configuration schema to json schema and send this schema for block plugins.
Attempt to use this to perform client-side validation of block settings.

User interface changes

πŸ“Œ Task
Status

Active

Version

0.0

Component

Page builder

Created by

πŸ‡¦πŸ‡ΊAustralia larowlan πŸ‡¦πŸ‡ΊπŸ.au GMT+10

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024