Skip to content

Commit

Permalink
fix repeater field name
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidsector9 committed Nov 6, 2023
1 parent d28783f commit dd065e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Classifai/Features/Feature.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public function render_prompt_repeater_field( array $args ): void {
$class = $args['class'] ?? 'large-text';
$placeholder = $args['placeholder'] ?? '';
$field_name_prefix = sprintf(
'classifai_%1$s%2$s[%3$s]',
'%1$s%2$s[%3$s]',
$this->get_option_name(),
$option_index ? "[$option_index]" : '',
$args['label_for']
Expand Down

0 comments on commit dd065e8

Please sign in to comment.