Page 1 of 1

Add config types for lists

Posted: Sat Jun 17, 2017 11:16 am
by cmb
As of CMSimple_XH 1.6 we have "typed" configuration options which already cover a lot of use cases. However, sometimes one needs to allow a list of items (for instance, file extensions, etc.) and this has to be typed as `string` (or maybe `text`). We should consider adding types to cater to that; `menum` and `mfunction` could be mapped to <select multiple>, but I'm not sure how to deal with `mxenum` and `mxfunction` one of which would be needed for file extensions, for instance.

Thoughts?