Skip to content

Forms.PropertyEditorUi.TextWithFieldPicker throws because context is undefined #1547

@enkelmedia

Description

@enkelmedia

Which Umbraco Forms version are you using? (Please write the exact version, example: 13.4.0)

17.0.0-rc4

Which Umbraco version are you using? (Please write the exact version, example: 13.5.2)

17.0.0-rc4

Issue summary

I'm using the Forms.PropertyEditorUi.TextWithFieldPicker form field for a setting in a workflow.

[Setting(nameof(SendToEmail), View= "Forms.PropertyEditorUi.TextWithFieldPicker", IsMandatory = false, DisplayOrder = 100)]
public string? SendToEmail { get; set; }

The property editor works, but when the modal is closed this error is thrown in the console.

Image

from this part of the code

Image

Heres the usage in the workflow

https://github.com/enkelmedia/NewsletterStudio.Plugins.UmbracoForms/blob/v17/dev/src/NewsletterStudio.Plugins.UmbracoForms/Transactionals/SendTransactionalWorkflowType.cs

Specifics

Looks like this

Image

Steps to reproduce

See above

Expected result / actual result

Should not throw

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions