Closed ziedmahdi closed 4 years ago
Consider the following Schema:
{ clients: { type: Array }, 'clients.$': { type: Object }, 'clients.$.name': { type: String } }
The global Blaze helper afFieldNames through an error as AutoForm.findAttribute('fields') returns: ['clients', false]. As Boolean values do not have the slice method field.slice fails.
afFieldNames
AutoForm.findAttribute('fields')
['clients', false]
slice
field.slice
Thanks for the PR!
Consider the following Schema:
The global Blaze helper
afFieldNames
through an error asAutoForm.findAttribute('fields')
returns:['clients', false]
. As Boolean values do not have theslice
methodfield.slice
fails.