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.

Without "defaults" form crashes on submit

See original GitHub issue

When I try to submit form without defaults and with empty fields I get the This library (validator.js) validates strings only error. I assume that this bug is caused by form values being undefined on form init. So after not focusing or changing form input it will try to validate undefined values. Solution could be copying all inputs’ values at form init.

simulator screen shot 18 nov 2016 16 11 51

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
cooperkacommented, Jun 23, 2017

@frmdstryr I’ve fixed it and released v0.0.15, please try again 😃 The date seems to be working for me on the example app.

0reactions
frmdstryrcommented, Jun 23, 2017

Yep, working good now. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

jquery form crashing on submit - Stack Overflow
Basically i am trying to learn how to use jquery to submit a form without having to change page, bare in mind i...
Read more >
2234 - Calling a form submission through JS crashes the viewer
If I submit the form manually via a submit button, no crash occurs. Here are some code snippets: <script> function submitResults() ...
Read more >
Form Crashes On Error in StorybookJS when using default ...
When there is an error on submitting the form, the story crashes, see screenshot below. The code works as expected when all fields...
Read more >
Adobe crashes when Preparing a Form - 11038369
1- As application crashes, check with a different PDF file. If it works fine, then its a document specific issue · 2- Open...
Read more >
Troubleshooting Inventor stability, crash and hang issues
Causes: Autodesk Inventor can crash for a number of reasons, such as a recent Windows update, system file corruption, model file corruption, ...
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