Skip to content
Discussion options

You must be logged in to vote

Hi,

Consider adding an onSuccess handler, for example:

{
  "version": "1",
  "actions": {
    "onSuccess": {
      "body": "    const arguments = e.args\n    const httpRequest = arguments[3]\n    console.info(httpRequest.response)",
      "params": {}
    }
  },
  "form": {
    "key": "Screen",
    "type": "Screen",
    "props": {},
    "children": [
      {
        "key": "rsUploader1",
        "type": "RsUploader",
        "props": {
          "method": {
            "value": "POST"
          },
          "action": {
            "value": "/"
          },
          "removable": {
            "value": true
          }
        },
        "events": {
          "onSuccess": [
            {
 …

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by sergeythrees
Comment options

You must be logged in to vote
3 replies
@FIDIFZINATION
Comment options

@sergeythrees
Comment options

@FIDIFZINATION
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants