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:
markkaylor 2022-08-25 09:26:45 +02:00 committed by GitHub
commit 00adfc166b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 19 deletions

View File

@ -1,7 +0,0 @@
import React from 'react';
const ColorPickerInput = () => {
return <div>TODO: Map Input Component</div>;
};
export default ColorPickerInput;

View File

@ -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',
},
]);
});
};