mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 17:00:55 +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';
|
'use strict';
|
||||||
|
|
||||||
module.exports = ({ strapi }) => {
|
module.exports = ({ strapi }) => {
|
||||||
strapi.customFields.register([
|
strapi.customFields.register({
|
||||||
{
|
name: 'color',
|
||||||
name: 'color',
|
plugin: 'mycustomfields',
|
||||||
plugin: 'mycustomfields',
|
type: 'string',
|
||||||
type: 'string',
|
});
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'map',
|
|
||||||
plugin: 'mycustomfields',
|
|
||||||
type: 'json',
|
|
||||||
},
|
|
||||||
]);
|
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user