diff options
3 files changed, 3 insertions, 3 deletions
diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/create/__tests__/__snapshots__/CreateVersionView_snapshot-test.js.snap b/workflow-designer-ui/src/main/frontend/src/features/version/create/__tests__/__snapshots__/CreateVersionView_snapshot-test.js.snap index 0b15043e..4f94780d 100644 --- a/workflow-designer-ui/src/main/frontend/src/features/version/create/__tests__/__snapshots__/CreateVersionView_snapshot-test.js.snap +++ b/workflow-designer-ui/src/main/frontend/src/features/version/create/__tests__/__snapshots__/CreateVersionView_snapshot-test.js.snap @@ -52,7 +52,7 @@ exports[`Create new version snapshot renders correctly 1`] = ` data-test-id="new-version-description" disabled={false} onChange={[Function]} - value="" + value={undefined} /> </div> </div> diff --git a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/__tests__/__snapshots__/CreateWorkflowView_snapshot-test.js.snap b/workflow-designer-ui/src/main/frontend/src/features/workflow/create/__tests__/__snapshots__/CreateWorkflowView_snapshot-test.js.snap index fb9cd835..afd57303 100644 --- a/workflow-designer-ui/src/main/frontend/src/features/workflow/create/__tests__/__snapshots__/CreateWorkflowView_snapshot-test.js.snap +++ b/workflow-designer-ui/src/main/frontend/src/features/workflow/create/__tests__/__snapshots__/CreateWorkflowView_snapshot-test.js.snap @@ -50,7 +50,7 @@ exports[`New Workflow View Snapshot renders correctly 1`] = ` data-test-id="description" disabled={false} onChange={[Function]} - value="" + value={undefined} /> </div> </div> diff --git a/workflow-designer-ui/src/main/frontend/src/shared/components/Description/index.js b/workflow-designer-ui/src/main/frontend/src/shared/components/Description/index.js index 12bae31a..f6744908 100644 --- a/workflow-designer-ui/src/main/frontend/src/shared/components/Description/index.js +++ b/workflow-designer-ui/src/main/frontend/src/shared/components/Description/index.js @@ -24,7 +24,7 @@ const Description = ({ description, onDataChange, dataTestId, disabled }) => ( {I18n.t('workflow.general.description')} </div> <textarea - value={description || ''} + value={description} data-test-id={dataTestId || 'description'} onChange={event => { onDataChange({ description: event.target.value }); |