Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(initial-value-templates): comment out check for _type
This check currently fails a valid case where you set an initial value for an "anonymous" object field and omit the `_type` in the initial value. E.g. the following valid example will fail unless this line is commented out: ```js export const initialValuesTest = { name: 'initialValuesTest', type: 'document', fields: [ { name: 'simpleObject', title: 'Simple object', type: 'object', fields: [{name: 'field1', type: 'string'}], }, ], initialValue: { title: 'foo', simpleObject: { field1: 'hello', }, }, } ```
- Loading branch information