contentstack / ui-extensions-sdk

The function of Contentstack's UI can be extended by adding custom widgets and fields through extensions. The following Extensions SDK gives an overview of different custom extensions for you to add to the Contentstack app.
MIT License
21 stars 12 forks source link

"Cannot call set data for current field type" #50

Closed sstere closed 1 year ago

sstere commented 1 year ago

I get this exception when trying to modify a File field from the context of another custom field extension.

https://github.com/contentstack/ui-extensions-sdk/blob/1a902b4ca9549ad57e91daafcdc777ac18a2c4fb/lib/field.js#L80

Why does this limitation exists? I have a scenario when I need to modify a File field from the context of another custom field extension. Can you remove this limitation?

Thx!

sstere commented 1 year ago

Mentioning @Deepak-Kharah @aravindbuilt

Deepak-Kharah commented 1 year ago

Hey @sstere, we'll check it out from our end. Thanks.