This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

At the moment we can add simple dropdown to the backed form, but it would be nice to have an option to add grouped dropdowns as well.

public function getGroupedOptions($value, $formData)
{
    return ['group1' => ['option1', 'option2'], 'group2' => ['option1', 'option2']];
}

No one prevents you from creating a custom form widget or using a partial field type.

+1 for the feature.

@alxy : We can create custom form widget for anything, but we talk about a standard HTML dropdown support, not the inclusion of excentric plugin....

I think october cms should, at least, support all standard HTML fields including all their sub-options.

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.