Reloading records back into a quick form for editing

Created on 25 January 2023, over 2 years ago

Problem/Motivation

Quick forms provide mechanisms for generating records, but once the records are saved there isn't a standardized way of "reloading" them back into the quick form for editing. Various custom implementations have been experimented with, but it would be nice if farmOS core provided a standardized mechanism.

Proposed resolution

Two potential ideas:

  1. Define an optional YML structure that can be provided alongside each quick form that "maps" data from the record (log/asset/etc) into the quick form fields.
  2. Provide a method on the base quick form class that downstream forms can implement/override, which takes a record and loads it into the form somehow.

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

Data model changes

TBD

✨ Feature request
Status

Active

Version

2.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States m.stenta

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

Comments & Activities

Production build 0.71.5 2024