Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(CanvasForm): Expression field shows [object Object] #1077

Merged
merged 1 commit into from
May 13, 2024

Commits on May 13, 2024

  1. fix(CanvasForm): Expression field shows [object Object]

    When a new expression-aware step is generated, the expression property is created as follows:
    
    ```yaml
            setHeader:
              id: setHeader-1234
              expression:
                simple:
                  expression: {}
    ```
    
    Notice the `expression: {}` bit which causes for the expression TextField to render `[object Object]`
    
    The fix is to remove the `expression: {}` section and leave the `simple: {}` one, this way, in the Source Code editor, the user will get feedback that something is still pending to configure.
    
    fix: KaotoIO#1076
    lordrip committed May 13, 2024
    Configuration menu
    Copy the full SHA
    911d90f View commit details
    Browse the repository at this point in the history