Skip to content

href as action does not carry over parameters #347

Description

@mexophantes

I would like to hand over a parameter (id) from one view to the next when clicking on a button like this:
Both version however don't work:

{
  "type": "button",
  "style": {
  "height": "20"
  },
  "url": "file://image.png",
  "action": {
  "type": "$href",
  "options": {
  "url": "file://some-local-json.json"
   },
   "id": "1234567"
}
{
  "type": "button",
  "style": {
  "height": "20"
  },
  "url": "file://image.png",
  "action": {
  "type": "$href",
  "options": {
  "url": "file://some-local-json.json"
  "id": "1234567"
   } 
}

The version that does work is this one, which is however not usable in my setup, since I would also like to implement the $ok two-way communication:

{
"type": "label",
"text": "Open view",
 "href": {
   "url": "file://some-local-json.json",
   "options": {
   "id": "1234567"
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions