Skip to content
Discussion options

You must be logged in to vote

Oh, ok, I think I understand what you meant. You can do it by passing an array of heterogeneous objects to the dynamic component: https://sql-page.com/component?component=dynamic

select 'dynamic' as component,
  json_build_array(
    json_build_object(
        'component', 'form'
    ),
    json_build_object(
        'name', 'username'
    ),
    json_build_object(
        'name', 'password',
        'type', 'password'
    )
  ) as properties;

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@lovasoa
Comment options

Answer selected by Aesth
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants