Skip to content

Commit

Permalink
fix(core): fix id's names for all generated fields #277
Browse files Browse the repository at this point in the history
  • Loading branch information
Awilum committed Nov 5, 2019
1 parent ae24086 commit 7f79b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flextype/core/Forms.php
Expand Up @@ -464,7 +464,7 @@ protected function tagsField(string $field_id, string $field_name, string $value

$field = '<div class="form-group ' . $property['size'] . '">';
$field .= ($property['title'] ? Form::label($field_id, __($property['title'])) : '');
$field .= '<input type="text" value="' . $value . '" name="' . $field_name . '" class="form-control" data-role="tagsinput" />';
$field .= '<input type="text" value="' . $value . '" name="' . $field_name . '" class="'. $this->field_class .'" data-role="tagsinput" />';
$field .= '</div>';

return $field;
Expand Down

0 comments on commit 7f79b4c

Please sign in to comment.