Skip to content

[Dynamic Form] Update Form crashes on loading, if an item has TaxonomyFieldTypeMulti field. [3.16.1] !!!  #1733

Closed
@bva999

Description

@bva999

Category

[ ] Enhancement

[x ] Bug

[ ] Question

Version

Please specify what version of the library you are using: [3.16.1]

Observed Behavior

If an item has a TaxonomyFieldTypeMulti field , the Dynamic Form crashes on loading. And get next error:

`Error get field informations TypeError: defaultValue.split is not a function
    at eval (DynamicForm.js:591:1)
    at step (DynamicForm.js:58:1)
    at Object.eval [as next] (DynamicForm.js:39:45)
    at step (DynamicForm.js:43:1)
    at Object.eval [as next] (DynamicForm.js:39:45)
    at fulfilled (DynamicForm.js:30:42)`

It assumes that value should be a string , but it is an Array of objects:

Screenshot 2024-01-09 135139

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:fixedIssue fixed in current or prior release.type:bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions