Skip to content
This repository was archived by the owner on Apr 30, 2018. It is now read-only.
This repository was archived by the owner on Apr 30, 2018. It is now read-only.

Add Support for ButtonBar #65

@gizmoboy

Description

@gizmoboy

Bountysource

Add support for a buttonbar field type (preferably, AngularStrap's button bar option (http://mgcrea.github.io/angular-strap/##buttons).

The buttonbar type should permit single-select (as shown in the "Radios" section of the demo linked to) as well as multi-select (as shown in the "Checkboxes" section of the demo), and also on/off toggles (as shown in the Toggle section, which is probably just a variation of multi-select with a single option).

Options for the buttonbar type would be similar to the "options" list for the existing Radio form field, with name and value, but an additional option called "selected" which is a boolean indicating whether the option is currently selected.

In addition, there should be a selectStyle option with possible values of "single" and "multiple" which should drive the Radios or Checkboxes style implemention mentioned above.

If selectStyle the value of this field type should be the collection of name/value/selected objects for all items in the options property.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions