question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not getting initial empty object in array since version 1.24.0

See original GitHub issue

Fields Definition:

export const fields = [
  'clients',
  'clients[].clienttype',
  'clients[].title',
  'clients[].firstname',
  'clients[].surname',
  'clients[].DOB',
  'clients[].address1',
  'clients[].address2',
  'clients[].town_city',
  'clients[].state',
  'clients[].postcode',
  'clients[].tel1',
  'clients[].tel2',
  'clients[].tel3',
  'clients[].tel4',
  'clients[].email',
];

In v 1.24.0 when initializing the form I would get an initial client object but since upgrading the clients array is empty?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
foxhound87commented, Apr 27, 2017

I see it in my code

0reactions
foxhound87commented, Apr 27, 2017

I think we can close this, please reopen if you see errors 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create an empty object in JavaScript with {} or new Object()?
new Object() and {} are not quite empty objects, they are objects that have the Object.prototype. You can use Object.create(null) for a truly...
Read more >
Empty objects not calling get method? - MATLAB Answers
I understand you are encountering an issue when trying to access property values of an empty object. When creating classes in MATLAB, the...
Read more >
Docker Compose release notes | Docker Documentation
Fixes compose#9622; Configured default builder export when no build.platforms ... Dependencies update: Updated Docker CLI version used in CI to v20.10.17.
Read more >
NumPy 1.13.0 Release Notes
C API changes#. GUfuncs on empty arrays and NpyIter axis removal#. It is now allowed to remove a zero-sized axis from NpyIter. Which...
Read more >
How to update first empty object in array? - MongoDB
I'm trying to create update query for document, which would update first empty object it finds in specified array in that document.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found