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

strk
strk

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']];
}
alxy
alxy

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

Troiscent
Troiscent

+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.