Answers.Body: <p>Tab with Table I believe is only an option if you have selected &quot;Does this Custom Field Set allow multiple records?&quot;</p>
  <p>Confirmed on dmaster</p>
  <p><a href="https://i.sstatic.net/1ENFv.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/1ENFv.png" alt="enter image description here" /></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-14T20:27:22.020Z
Answers.Text: Yes, good point! I updated my question to make it more specific. I am experiencing the issue when editing the cf groups that allow multiple records.
Answers.UserDisplayName: Justin657
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-14T21:07:11.753Z
Answers.Text: @Justin657 Note your screenshot also doesn't have the "maximum number" field. Can you tell us more about the custom group details?
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-15T16:41:25.363Z
Answers.Text: @Demerit - Yes indeed, "maximum number" field is missing. I added Update #2 to my question adding more details.
Answers.UserDisplayName: Justin657
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-15T18:25:35.050Z
Answers.Text: That seems wacky. I can't reproduce it. Do you have any relevant extensions that might be altering it? What data type is the custom field itself (may or may not be relevant)?
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-15T19:01:07.560Z
Answers.Text: did you replicate all of that on https://dmaster.demo.civicrm.org/
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-15T20:31:26.660Z
Answers.Text: @petednz - yep, I did the same operations on dmaster, but there it works fine.
Answers.UserDisplayName: Justin657
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-15T22:28:06.007Z
Answers.Text: so the next questions would be, is it the different versions (ie was there a regression that has already been fixed), or is there a customisation or another extension on your site that is interfering.
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-14T18:14:06.203Z
Answers.LastActivityDate: 2023-12-14T18:14:06.203Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>[Edited from original question]</p>
  <p>When editing a <code>custom field group</code> for <code>Individuals</code> that allows multiple records, the <code>Display Style</code> option changes from <code>Tab with table</code> to <code>Inline</code>. Seems like a regression/bug.</p>
  <p>On two different instances of Civi 5.67.3, when I used the UI to edit one of my custom field groups, it inadvertently changed to <code>Inline</code> display style. I was able to revert the display style back by setting <code>civicrm_custom_group.style</code> in the db back to <code>Tab with table</code>.</p>
  <p>The front-end display of the custom field seems to work fine. It's just this backend custom field group edit form that seems to be the issue.</p>
  <p>Civi 5.67.3
  Shoreditch theme
  Drupal 10.1.6</p>
  <hr />
  <p>Update #1</p>
  <p>Here's a screenshot of the Edit Custom Field popup screen, showing that the group is set to <code>allow multiple records</code> and yet the display option doesn't show <code>Tab with Table</code>.</p>
  <p>I don't see any javascript errors in the browser console.</p>
  <p><a href="https://i.sstatic.net/covYl.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/covYl.png" alt="enter image description here" /></a></p>
  <p>I cannot replicate this on dmaster, so perhaps it's a localized issue.</p>
  <hr />
  <p>Update #2</p>
  <p>The weirdness on the edit custom group screen is happening only when there are actual records for that custom group.</p>
  <p>Here's a custom group when there are NO records (after initial creation, or after adding and then deleting a custom field entry for an Individual).</p>
  <p><a href="https://i.sstatic.net/f4AEM.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/f4AEM.png" alt="enter image description here" /></a></p>
  <p>And here's the same custom group when I add 1 record to an Individual.</p>
  <p>Strange behaviors:</p>
  <ol>
  <li>It's missing the fields: <code>maximum number of multiple records</code></li>
  <li>Under Display Style the <code>Tab with table</code> option is missing.</li>
  </ol>
  <p>The <code>Tab icon</code> is missing because in the screenshot below it's set to <code>Inline</code> but shows up again if you select <code>Tab</code>, so that's working ok.</p>
  <p><a href="https://i.sstatic.net/kjBhY.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/kjBhY.png" alt="enter image description here" /></a></p>
  <p>The edit screen shows the same weird behavior for custom groups allowing multiple records set to the other display styles (Tab, Inline), so it seems the issue is isolated to <em>custom groups that allow multiple records and have at least one data entry</em>.</p>
  <p>Still trying to make heads or tails of this. I appreciate any insights.</p>
  
Tags: <custom-fields>
Title: Custom Field Groups: "Tab with Table" display style missing
ThreadText: # Custom Field Groups: "Tab with Table" display style missing
  
  (Asked by: username_0 on 2023-12-14)
  
  [Edited from original question]
  
  When editing a `custom field group` for `Individuals` that allows multiple records, the `Display Style` option changes from `Tab with table` to `Inline`. Seems like a regression/bug.
  
  On two different instances of Civi 5.67.3, when I used the UI to edit one of my custom field groups, it inadvertently changed to `Inline` display style. I was able to revert the display style back by setting `civicrm_custom_group.style` in the db back to `Tab with table`.
  
  The front-end display of the custom field seems to work fine. It's just this backend custom field group edit form that seems to be the issue.
  
  Civi 5.67.3
  Shoreditch theme
  Drupal 10.1.6
  
  ---
  
  Update #1
  
  Here's a screenshot of the Edit Custom Field popup screen, showing that the group is set to `allow multiple records` and yet the display option doesn't show `Tab with Table`.
  
  I don't see any javascript errors in the browser console.
  
  [![enter image description here](https://i.sstatic.net/covYl.png)](https://i.sstatic.net/covYl.png)
  
  I cannot replicate this on dmaster, so perhaps it's a localized issue.
  
  ---
  
  Update #2
  
  The weirdness on the edit custom group screen is happening only when there are actual records for that custom group.
  
  Here's a custom group when there are NO records (after initial creation, or after adding and then deleting a custom field entry for an Individual).
  
  [![enter image description here](https://i.sstatic.net/f4AEM.png)](https://i.sstatic.net/f4AEM.png)
  
  And here's the same custom group when I add 1 record to an Individual.
  
  Strange behaviors:
  
  1. It's missing the fields: `maximum number of multiple records`
  2. Under Display Style the `Tab with table` option is missing.
  
  The `Tab icon` is missing because in the screenshot below it's set to `Inline` but shows up again if you select `Tab`, so that's working ok.
  
  [![enter image description here](https://i.sstatic.net/kjBhY.png)](https://i.sstatic.net/kjBhY.png)
  
  The edit screen shows the same weird behavior for custom groups allowing multiple records set to the other display styles (Tab, Inline), so it seems the issue is isolated to *custom groups that allow multiple records and have at least one data entry*.
  
  Still trying to make heads or tails of this. I appreciate any insights.
  
  **Tags:** custom-fields
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-12-14. Score: 1
  
  Tab with Table I believe is only an option if you have selected "Does this Custom Field Set allow multiple records?"
  
  Confirmed on dmaster
  
  [![enter image description here](https://i.sstatic.net/1ENFv.png)](https://i.sstatic.net/1ENFv.png)
  
  > **Comments:**
  > **username_0**: Yes, good point! I updated my question to make it more specific. I am experiencing the issue when editing the cf groups that allow multiple records.  
  > **username_2**: @username_0 Note your screenshot also doesn't have the "maximum number" field. Can you tell us more about the custom group details?  
  > **username_0**: @username_2 - Yes indeed, "maximum number" field is missing. I added Update #2 to my question adding more details.  
  > **username_2**: That seems wacky. I can't reproduce it. Do you have any relevant extensions that might be altering it? What data type is the custom field itself (may or may not be relevant)?  
  > **username_1**: did you replicate all of that on https://dmaster.demo.civicrm.org/  
  > **username_0**: @username_1 - yep, I did the same operations on dmaster, but there it works fine.  
  > **username_1**: so the next questions would be, is it the different versions (ie was there a regression that has already been fixed), or is there a customisation or another extension on your site that is interfering.  
  
  ---
  
  