8000 Saved select data not fully loading into nested lists · Issue #332 · vueform/vueform · GitHub
[go: up one dir, main page]

Skip to content
Saved select data not fully loading into nested lists #332
Open
@firesforever

Description

@firesforever

Environment

VITE v5.4.2

Reproduction

{
   "displayErrors":false,
   "size":"md",
   "schema":{
      "team":{
         "type":"group",
         "schema":{
            "access":{
               "type":"list",
               "sort":true,
               "storeOrder":"order",
               "element":{
                  "type":"object",
                  "schema":{
                     "user":{
                        "type":"select",
                        "items":"get_list?type=users",
                        "search":true,
                        "native":false,
                        "inputType":"search",
                        "autocomplete":"off",
                        "label":"User",
                        "columns":{
                           "container":9
                        }
                     },
                  }
               },
               "addText":"+ Add Member"
            }
         }
      },
      "submit":{
         "type":"button",
         "buttonLabel":"Save",
         "submits":true,
         "full":true
      }
   }
}

Describe the bug

Hi,

I am using a nested list with a select populated with items coming from an endpoint. When loading the data back into the form after saving they all load correctly with the previously saved values, apart from the first one. This has only recently started happening.

Selects that are not generated from an endpoint are working correctly.

Thanks.

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0