lodash.js fiddle

Added lodash from cdnjs.com in order to have lodash capabilities in chrome.

by Gabriel Correa

HTML

<script src="//cdnjs.cloudflare.com/ajax/libs/lodash.js/1.2.1/lodash.min.js"></script>

JavaScript

let fields = [{
    _id: "628e7532d9f780dcb56f2733",
    createdAt: '2022-05-25 03:28:02',
    author: 'adicionarei posteriormente',
    checkBox: {},
    dica: null,
    field: 'teste',
    fieldtype: 'multipleSelection',
    index: 0,
    sufixo: null
  },
  {
    _id: "61f76c3c7a308dd136f1d33a",
    createdAt: '2022-01-31 01:57:32',
    author: 'adicionarei posteriormente',
    dica: 'Exemplo de dica.',
    field: 'Nome',
    fieldtype: 'Text',
    index: 0,
    checkBox: null
  },
  {
    _id: "61f92ec87a308dd136c0e182",
    createdAt: '2022-02-01 09:59:52',
    author: 'adicionarei posteriormente',
    dica: 'Dica do peso animal',
    field: 'Peso',
    fieldtype: 'Numeric',
    index: 1,
    checkBox: null
  },
  {
    _id: "628d1f6cd9f780dcb5209d81",
    createdAt: '2022-05-24 03:09:48',
    author: 'adicionarei posteriormente',
    checkBox: {
      '0': 'test',
      '1': 'taete',
      '2': 'taetea',
      '3': 'babva'
    },
    dica: null,
    field: 'multiSelecao',
    fieldtype: 'multipleSelection',
    index: 0,
    sufixo: null
  },
  {
    _id: "628d3252d9f780dcb5405436",
    createdAt: '2022-05-24 04:30:26',
    author: 'adicionarei posteriormente',
    checkBox: {},
    dica: '*NAO PREENCHA*',
    field: 'teste',
    fieldtype: 'Text',
    index: 0,
    sufixo: null
  },
  {
    _id: "624f2a9f63dd92f2101db87c",
    createdAt: '2022-04-07 03:17:02',
    author: 'adicionarei posteriormente',
    checkBox: {
      '0': 'teste',
      '1': 'absc',
      '2': 'teatae',
      '3': 'taetea',
      '4': 'teatae',
      '5': 'teatea'
    },
    dica: '100',
    field: 'test',
    fieldtype: 'multipleSelection',
    index: 5
  },
  {
    _id: "624f2ab363dd92f2101de167",
    createdAt: '2022-04-07 03:17:22',
    author: 'adicionarei posteriormente',
    checkBox: null,
    dica: 'criolo',
    field: 'Nome',
    fieldtype: 'Text',
    index: 2
  },
  {
    _id: "62585eb33cbba7cd65f65539",
    createdAt: '2022-04-14 02:49:37',
    author: 'adicionarei...