>
buildElementLabel($data, $form); ?>
buildElementLabel($field, $form); ?> |
|
$item):
$itemLabel = $item['settings']['label'];
$item['settings']['label'] = '';
$item['attributes']['aria-label'] = 'repeater level 1 and field ' . $itemLabel;
$item['attributes']['name'] = $rootName . '[0][]';
$item['attributes']['id'] = $this->makeElementId($data, $form) . '_' . $key;
$item['attributes']['data-repeater_index'] = $key;
$item['attributes']['data-type'] = 'repeater_item';
$item['attributes']['data-name'] = $rootName.'_'.$key.'_0';
$item['attributes']['data-error_index'] = $rootName.'['.$key.']';
$item['attributes']['data-default'] = ArrayHelper::get($item, 'attributes.value');
?>
|
getRepeater($data['element']); ?> |
';
$div .= '