Combobox error in CS


#1

Enonic version: 7.1.0
OS: Windows
CS: 2.1.1

Hi!
Our editor has a weird issue, when editing a content type, which has a combobox. When selecting “role” input after selecting “internal” input, everything hangs for ~20-30s and the error appears in dev console. Here is a chunk of content type:

<item-set name="PROJECT_STAFF">
  <label>Staff</label>
  <items>
    <input name="internal" type="ContentSelector">
      <label>Internal employee</label>
      <occurrences minimum="0" maximum="1"/>
      <config>
        <relationshipType>system:reference</relationshipType>
        <allowPath>*</allowPath>
        <allowContentType>employee</allowContentType>
      </config>
    </input>
    <input type="TextLine" name="external_name">
      <label>External person name</label>
      <occurrences minimum="0" maximum="1"/>
    </input>
    <input type="TextLine" name="external_url">
      <label>External person URL</label>
      <occurrences minimum="0" maximum="1"/>
    </input>
    <input name="role" type="ComboBox">
      <label>Person role</label>
      <occurrences minimum="1" maximum="1"/>
      <config>
        <option value="PRO_MANAGER">Manager</option>
        <option value="PRO_LMANAGER">Local manager</option>
        <option value="PRO_PARTICIPANT">Participant</option>
      </config>
    </input>
  </items>
  <occurrences minimum="1" maximum="0"/>
</item-set>

Here is the error:

7bundle.js:1 Uncaught TypeError: t.getInputType is not a function

    at bundle.js:1

    at Array.filter (<anonymous>)

    at DisplayNameResolver.getNamesOfAllowedFields (bundle.js:1)

    at DisplayNameResolver.getFormValues (bundle.js:1)

    at DisplayNameResolver.safeEval (bundle.js:1)

    at DisplayNameResolver.execute (bundle.js:1)

    at HTMLDivElement.<anonymous> (bundle.js:1)

_all.js:2984 Uncaught RangeError: Maximum call stack size exceeded

    at String.replace (<anonymous>)

    at V (_all.js:2984)

    at Function.css (_all.js:2984)

    at et (_all.js:2984)

    at tt (_all.js:2984)

    at Object.get (_all.js:2984)

    at Function.css (_all.js:2984)

    at _all.js:2984

    at _ (_all.js:2984)

    at k.fn.init.k.fn.<computed> [as width] (_all.js:2984)

_all.js:2984 Uncaught RangeError: Maximum call stack size exceeded

    at String.replace (<anonymous>)

    at V (_all.js:2984)

    at Function.css (_all.js:2984)

    at Object.set (_all.js:2984)

    at Function.style (_all.js:2984)

    at _all.js:2984

    at _ (_all.js:2984)

    at k.fn.init.k.fn.<computed> [as outerWidth] (_all.js:2984)

    at applyColumnHeaderWidths (_all.js:14272)

    at autosizeColumns (_all.js:14215)

bundle.js:1 Uncaught TypeError: t.getInputType is not a function

    at bundle.js:1

    at Array.filter (<anonymous>)

    at DisplayNameResolver.getNamesOfAllowedFields (bundle.js:1)

    at DisplayNameResolver.getFormValues (bundle.js:1)

    at DisplayNameResolver.safeEval (bundle.js:1)

    at DisplayNameResolver.execute (bundle.js:1)

    at HTMLDivElement.<anonymous> (bundle.js:1)

_all.js:2984 Uncaught RangeError: Maximum call stack size exceeded

    at String.replace (<anonymous>)

    at V (_all.js:2984)

    at Function.css (_all.js:2984)

    at et (_all.js:2984)

    at Object.set (_all.js:2984)

    at Function.style (_all.js:2984)

    at _all.js:2984

    at _ (_all.js:2984)

    at k.fn.init.k.fn.<computed> [as outerWidth] (_all.js:2984)

    at applyColumnHeaderWidths (_all.js:14272)

_all.js:1 WebSocket is already in CLOSING or CLOSED state.

(anonymous) @ _all.js:1

_all.js:2984 Uncaught RangeError: Maximum call stack size exceeded

    at String.replace (<anonymous>)

    at V (_all.js:2984)

    at Function.css (_all.js:2984)

    at Object.set (_all.js:2984)

    at Function.style (_all.js:2984)

    at _all.js:2984

    at _ (_all.js:2984)

    at k.fn.init.k.fn.<computed> [as outerWidth] (_all.js:2984)

    at applyColumnHeaderWidths (_all.js:14272)

    at autosizeColumns (_all.js:14215)

4bundle.js:1 Uncaught TypeError: t.getInputType is not a function

    at bundle.js:1

    at Array.filter (<anonymous>)

    at DisplayNameResolver.getNamesOfAllowedFields (bundle.js:1)

    at DisplayNameResolver.getFormValues (bundle.js:1)

    at DisplayNameResolver.safeEval (bundle.js:1)

    at DisplayNameResolver.execute (bundle.js:1)

    at HTMLDivElement.<anonymous> (bundle.js:1)