Skip to content
Discussion options

You must be logged in to vote

The following example demonstrates how to fetch and update state list on entering pincode.

{
"fields: [{
  "name": "pincode",
  "meta": {
     "displayName": "Pincode",
     "displayType": "text",
      "displayProps": {
          "xs": 12,
          "md": 6
      }
  }
}, {
  "name": "state_name",
  "meta": {
      "config": {
          "type": "urlLoader",
          "url": "<URL_TO_FETCH_PINCODE>",
          "queryParams": [
              [
                  "pincode",
                  {
                      "type": "fieldValue",
                      "ref": "pincode"
                  }
              ]
          ],
          "valueKey": "state#name",
          "labelKey": "state#name…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by manojadams
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants