silverstripe/silverstripe-framework — pull request #2270 by ARNHOE (2013-07-26 14:06:48+00:00)
Title: BUG Updated fieldgroup class and example code

Fieldgroup was being added twice to the parent class, also extraClass doesn't work for the fieldgroup anyway. Because the extraclass doesn't get added to the parent, the countrydropdownfield doesn't get the chosen style either.

When adding dropdown class to

, then the styling works only there are some label position errors. But there is something wrong in the code that doesn't add dropdown to the parent class and only to the field itself.

Before:

```

Champion

Champion name

Champion nationality

Afghanistan

```

After:

```

Champion

Champion name

Champion nationality

Afghanistan

```