Skip to main content
Question

Best way to display a key value pair input using a dynamic field.


My API requires an input similar to this. 

{
  [ { "dataType": "uint8", "value": "255" },
    { "dataType": "uint16", "value": "1234" },
    { "dataType": "uint8[]", "value": "["255","254"]" }
  ]
}

We are mapping a data type to a value. 
Using a Dynamic input type i have generated this type of UI which requires the user to declare all the types in one item area and then separately declare all the values which is not ideal. 


Is there a way that i can group the key and value together and allow multiple inputs?

Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.