}
$return = '<div class="form-group">';
for ($i = 0; $i < count($this->choices) - 1; $i++) {
- $return .='<select class="form-select" id="id_s_'.$this->name.'" name="s_' . $this->name .'[]">';
+ $return .='<select class="form-select" id="id_s_'.$this->name.$i.'" name="s_' . $this->name .'[]">';
foreach ($this->choices as $key => $value) {
$return .= '<option value="' . $key . '"' . ($key == $currentsetting[$i] ? ' selected="selected"' : '') . '>' . $value . '</option>';
}