Open westonganger opened 5 years ago
Solves feature request within https://github.com/locomotivecms/engine/issues/1277#issuecomment-482546151
Custom field types are defined as .json files within config/custom_field_types/
.json
config/custom_field_types/
Example Usage:
// config/custom_field_types/color_selector.json { "type": "select", "options": [ {"label": "Pink - #e69798","value": "bg-pink"}, {"label": "Yellow - #f3c577", "value": "bg-yellow"} ] }
// within the section definition "settings": [ { "type": "color_selector", "id": "background_color", "label": "Background Color" } ]
TBD:
Resource invalid: entries_custom_fields is invalid, #5d00127ee1382349794fe075: Type is not included in the list
I will be needing some assistance to complete this feature as so far I am only familiar with the Filesystem adapters.
Please feel free to refractor as necessary.
Related PR's:
Please place this functionality on high priority. This is much needed.
@westonganger let's talk about it on Gitter!
Solves feature request within https://github.com/locomotivecms/engine/issues/1277#issuecomment-482546151
Custom field types are defined as
.json
files withinconfig/custom_field_types/
Example Usage:
TBD:
Resource invalid: entries_custom_fields is invalid, #5d00127ee1382349794fe075: Type is not included in the list
I will be needing some assistance to complete this feature as so far I am only familiar with the Filesystem adapters.
Please feel free to refractor as necessary.
Related PR's: