apostrophe icon indicating copy to clipboard operation
apostrophe copied to clipboard

Schemas: "select" should take "multiple" and "style" options, rather than having lots of similar field types

Open boutell opened this issue 10 years ago • 3 comments

Single select:

{
  type: 'select',
  // default
  style: 'dropdown'
}
{
  type: 'select',
  style: 'radio'
}

Multiple select with checkboxes:

{
  type: 'select',
  multiple: true,
  style: 'checkboxes'
}

Multiple select with selectize:

{
  type: 'select',
  multiple: true,
  // default
  style: 'dropdown'
}

cc @agilbert @jth-

boutell avatar Feb 19 '16 14:02 boutell

I like the sound of this.

Would a feature like 'Show Fields' work with a multiple select or checkboxes? I think it could, just worthy of some further consideration.

jth- avatar Feb 22 '16 14:02 jth-

It could, just yeah, worth noting that it has to be implemented correctly for all the cases.

On Mon, Feb 22, 2016 at 9:13 AM, Jimmy Harrison [email protected] wrote:

I like the sound of this.

Would a feature like 'Show Fields' work with a multiple select or checkboxes? I think it could, just worthy of some further consideration.

— Reply to this email directly or view it on GitHub https://github.com/punkave/apostrophe/issues/440#issuecomment-187193776.

*THOMAS BOUTELL, *DEV & OPS P'UNK AVENUE | (215) 755-1330 | punkave.com

boutell avatar Feb 22 '16 14:02 boutell

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 19 '20 02:06 stale[bot]