Skip to content

Commit

Permalink
Merge pull request civicrm#27916 from colemanw/isMultiple
Browse files Browse the repository at this point in the history
CustomGroup - Allow increasing max_multiple
  • Loading branch information
yashodha authored Oct 31, 2023
2 parents c81fbfc + 0d36d3e commit 90f1556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/CRM/Custom/Form/Group.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ CRM.$(function($) {
// When changing or initializing the `is_multiple` field
// Check if this set supports multiple records and adjust other options accordingly
function handleMultiple() {
if ($(this).is(':checked')) {
if ($(this).is(':checked') || ($(this).attr('type') === 'hidden' && $(this).val() === '1')) {
$('tr.field-max_multiple', $form).show();
if (tabWithTableOption) {
$('select[name=style]', $form).append(tabWithTableOption);
Expand Down

0 comments on commit 90f1556

Please sign in to comment.