mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
Merge pull request #14207 from strapi/custom-fields/remove-map-components
[Custom fields] Remove all traces of map custom field
This commit is contained in:
commit
00adfc166b
@ -1,7 +0,0 @@
|
||||
import React from 'react';
|
||||
|
||||
const ColorPickerInput = () => {
|
||||
return <div>TODO: Map Input Component</div>;
|
||||
};
|
||||
|
||||
export default ColorPickerInput;
|
@ -1,16 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = ({ strapi }) => {
|
||||
strapi.customFields.register([
|
||||
{
|
||||
strapi.customFields.register({
|
||||
name: 'color',
|
||||
plugin: 'mycustomfields',
|
||||
type: 'string',
|
||||
},
|
||||
{
|
||||
name: 'map',
|
||||
plugin: 'mycustomfields',
|
||||
type: 'json',
|
||||
},
|
||||
]);
|
||||
});
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user