#How to set group to optional?
6 messages · Page 1 of 1 (latest)
Help is on the way! To mark it as solved, use the /solve command. In the meantime, here are some existing threads that may help you:
Documentation:
- Slate Rich Text - Admin Options - Building custom elements and leaves
- Authentication Overview - Token-based auth
- SEO Plugin
- SEO Plugin - Basic Usage - Options - uploadsCollection
- Radio Group Field - Config
Community-Help:
@tribal relic you can help me?
Can you share your code please?
@glossy isle this is my code, field group called "home" is possibly null on database
const CelebrityRooms: CollectionConfig = {
slug: 'c_celebrityroom',
admin: {
defaultColumns: ['id', 'name'],
useAsTitle: 'name',
group: 'Site',
},
fields: [
{
type: 'tabs',
tabs: [
{
label: 'Home',
fields: [
{
label: 'Informações da home',
name: 'home',
type: 'group',
fields: [
{
label: 'Exibir na home',
name: 'show',
type: 'checkbox',
required: false,
},
{
label: 'Nome',
name: 'name',
type: 'text',
required: false,
},
{
label: 'Descrição',
name: 'description',
type: 'textarea',
required: false,
},
{
label: 'Icone',
name: 'icon',
type: 'text',
required: false,
},
],
},
],
},
],
},
],
}
export default CelebrityRooms
I wouldnt if that is a remnant from a previous structure of this data