[PP-1] Set form state values in bulk rather than in inputBehaviours

Created on 13 December 2024, 5 days ago

Overview

In πŸ“Œ Move form state into the global store Active we added a redux slice for form state.
At present we're setting values one by one from inputBehaviours
We need to be able to set these in bulk in two scenarios:

  • When the form loads
  • When the form is updated via ajax

Proposed resolution

Modify the response from the component props form to send the initial state of the model in an additional top level key.
Use onQueryStarted in the form data api slice to set the form state values from that key
Add an ajax command that can set the form state values in bulk
Append that command to the ajax response for either of the two forms

User interface changes

πŸ“Œ Task
Status

Postponed

Version

0.0

Component

Redux-integrated field widgets

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