JSFiddle - React, Tailwind, and code Playground

by Duke Dinh

JavaScript

var position = [{
    id: "57a8e85e9fcd72a01e99a730",
    compositionKey: 1,
    objectKey: 10,
    positionNumber: 1,
    positionName: "Region of Build",
    positionValueCode: "1",
    positionValueDescription: "United States",
    version: 0
}, {
    id: "57a8e9029fcd72a01e99a732",
    compositionKey: 1,
    objectKey: 10,
    positionNumber: 2,
    positionName: "Manufacturer",
    positionValueCode: "G",
    positionValueDescription: "General Motors",
    version: 0
}, {
    id: "57a8e96e9fcd72a01e99a734",
    compositionKey: 1,
    objectKey: 20,
    positionNumber: 4,
    positionName: "Vehicle Line",
    positionValueCode: "A",
    positionValueDescription: "",
    version: 0
}, {
    id: "57a8e9859fcd72a01e99a735",
    compositionKey: 1,
    objectKey: 20,
    positionNumber: 5,
    positionName: "Series",
    positionValueCode: "A",
    positionValueDescription: "",
    version: 0
}, {
    id: "57a8e9a59fcd72a01e99a736",
    compositionKey: 1,
    objectKey: 21,
    positionNumber: 4,
    positionName: "Vehicle Line",
    positionValueCode: "A",
    positionValueDescription: "",
    version: 0
}, {
    id: "57a8e9c29fcd72a01e99a737",
    compositionKey: 1,
    objectKey: 21,
    positionNumber: 5,
    positionName: "Series",
    positionValueCode: "B",
    positionValueDescription: "",
    version: 0
}, {
    id: "57a8e9dd9fcd72a01e99a738",
    compositionKey: 1,
    objectKey: 22,
    positionNumber: 4,
    positionName: "Vehicle Line",
    positionValueCode: "A",
    positionValueDescription: "",
    version: 0
}, {
    id: "57a8e9f39fcd72a01e99a739",
    compositionKey: 1,
    objectKey: 22,
    positionNumber: 5,
    positionName: "Series",
    positionValueCode: "C",
    positionValueDescription: "",
    version: 0
}, {
    id: "57a8ea3e9fcd72a01e99a73a",
    compositionKey: 1,
    objectKey: 50,
    positionNumber: 6,
    positionName: "Body Style",
    positionValueCode: "5",
    positionValueDescription: "69 - Sedan, 4-Door, 4 Window,...