webiny-js icon indicating copy to clipboard operation
webiny-js copied to clipboard

Object multiple blocks sorting change does not work

Open ouzkilic opened this issue 2 years ago • 0 comments

Version

v5.32.0

Operating System

MacOS

Browser

Google Chrome

What are the steps to reproduce this bug?

After creating the Headless Cms Model with the fields I specified below, I create 2 blocks. When I want to take the bottom block to the top, nothing changes.

[
                        {
                            "multipleValues": true,
                            "type": "text",
                            "fieldId": "stage"
                        },
                        {
                            "multipleValues": false,
                            "type": "text",
                            "fieldId": "language"
                        },
                        {
                            "multipleValues": false,
                            "type": "text",
                            "fieldId": "type"
                        },
                        {
                            "multipleValues": false,
                            "type": "object",
                            "fieldId": "pageTitle"
                        },
                        {
                            "multipleValues": false,
                            "type": "text",
                            "fieldId": "title"
                        },
                        {
                            "multipleValues": true,
                            "type": "object",
                            "fieldId": "blocks"
                        },
                        {
                            "multipleValues": false,
                            "type": "file",
                            "fieldId": "pageImage"
                        }
]

What is the expected behavior?

The order of the blocks needs to change.

What do you see instead?

Not working

Additional information

No response

Possible solution

No response

ouzkilic avatar Oct 23 '23 00:10 ouzkilic