Skip to content

Pre-fill creation form with values from query params #1065

@NilsJPWerner

Description

@NilsJPWerner

In the previous qor I was able to leverage ui.GetRouter().Use(&admin.Middleware along with ctx.Execute("new" in order to prefill the creation form with query string parameters. This does not seem to be possible in qor5 since there is no hook to customize the initial object before rendering.

This is a really useful feature for prefilling certain fields.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions