Skip to content

[BUG] JSON config not parsed if Save is clicked without blurring input on State modal #2103

@epamLDadayan

Description

@epamLDadayan

Title: JSON config not parsed if Save is clicked without blurring input

Description:
In the config modal’s JSON editor, parsing/validation only runs on blur. If the user types JSON and clicks Save without changing focus, the raw text is saved (unparsed/invalid state).

Steps to reproduce:

  1. Open the State modal that accepts JSON configuration.
  2. Type valid JSON into the editor.
  3. Without clicking outside the field (no blur), click Save.

Actual Result:
The input is not parsed/validated on submit; the config is saved incorrectly (raw text/previous value).

Expected Result:
Clicking Save should trigger parse/validation. If valid, save the parsed JSON; if invalid, block save and show an inline error. Behavior must not depend on blur.

Notes (optional):

  • Workaround: click outside the field (blur) before saving.

Metadata

Metadata

Assignees

Labels

FE_issuefor Fron-end issuesPipelinesTo group issues regarding Pipelines functionality

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions