Skip to content

Use Form Model for "view"/task, command usage #368

Closed
@spralle

Description

@spralle

I would like to use the schema-form for two things I cannot see are supported

  1. View only. Instead of having editable components it is labels or similar that show the data. It would be good if the same form layouts could be reused for this.

  2. Task / command driven editable parts from the viewable form. As an example maybe you see an order with orderlines I would like to have each field on the order line clickable, if you click you make the whole order line editable (with for example x-editable inplace edit) and when done with the orderline a json command would be triggered ("AmendOrderLine...."). Or a button to remove an orderline would then trigger a RemoveOrderLine command. Another command could be change delivery address. I think you get the idea.

This is not so much a feature request as a request if you think this is feasible. It is something like all data is displayed from a schema but you can trigger tasks / commands by clicking data or button which would then trigger a new form from a separate schema.

If you could give some hints on how easily the project could be extended for these kind of usecases it would be very helpful.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions