12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
{
  "surface_id": "surface-dropdown-selection",
  "surface_version": 1,
  "payload": {
    "objects": [
      {
        "dataModelUpdate": {
          "surfaceId": "surface-dropdown-selection",
          "contents": [
            {
              "key": "location",
              "valueArray": [
                {
                  "valueString": "Unknown"
                },
                {
                  "valueString": "Shanghai"
                }
              ]
            },
            {
              "key": "hasLocation",
              "valueBool": false
            }
          ]
        }
      },
      {
        "surfaceUpdate": {
          "surfaceId": "surface-dropdown-selection",
          "components": [
            {
              "id": "root",
              "component": {
                "DropdownSelection": {
                  "selection": {
                    "path": "/location"
                  },
                  "items": [
                    "Beijing",
                    "Shanghai"
                  ],
                  "hasSelection": {
                    "path": "/hasLocation",
                    "literalBoolean": false
                  },
                  "placeholder": {
                    "literalString": "Select location"
                  }
                }
              }
            }
          ]
        }
      },
      {
        "beginRendering": {
          "root": "root",
          "surfaceId": "surface-dropdown-selection"
        }
      }
    ]
  }
}
0 tokens