You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 6, 2023. It is now read-only.
{title: 'Custom type',type: 'myCustomObjType',name: 'myCustomObjType',initialValue: {customName: "This is a custom name",customString: "This is a custom string"}},
Personally I use this on my CTA object to fill a hidden field which is then used to hide/show some extra customization options.
We need tests for
initialValueacross the board, mainly consideringarrayandobjectNamed({ ... }).ref(). Docs around both are also essential.Original Ticket:
When you use an object as a field type you can pass initial values which will populate some fields.
Docs for reference.
Personally I use this on my CTA object to fill a hidden field which is then used to hide/show some extra customization options.
At the moment my workaround is to have duplicated objects with different initialValues already defined but it's not ideal.