Prevent initial error spam for required attributes
See original GitHub issueI have a form with 20 or so questions, all are required. When it is created, there is a red spam that all questions are missing. If option "show_errors": "never"
is set, all disappear after single one is edited.
How can I prevent this spam ? I want error to show on field change without initial spam:
Here is the gif showing 3 required questions that disappear as soon first is edited.
As a side note, this div should probably have some class errors
to be easily moved with selectors. Currently the one must get it by position which may be flaky.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8
Top Results From Across the Web
Anti-spam message headers - Office 365 - Microsoft Learn
In all Microsoft 365 organizations, Exchange Online Protection (EOP) scans all incoming messages for spam, malware, and other threats.
Read more >Spam responses from website contact form bypassing ...
One way to prevent spam is Honeypot technique, it is proven to work and prevented more than 90% of spam for my company's...
Read more >Common validation errors when creating issue forms
Common validation errors when creating issue forms · In this article · Required top level key name is missing · key must be...
Read more >Configuring Spam Scanning Definitions and Policies
If the sender is legitimate, they must re-transmit the message once the spam checks have been bypassed.
Read more >[Email Protection (PPS/PoD)] Spam Detection
The MLX Engine then utilizes the message's detected attributes and the appropriate classifiers to calculate the probability that the message is spam. This...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
PRs (with test) welcome 😉
Not deleting the required empty properties here: https://github.com/json-editor/json-editor/blob/master/src/editors/object.js#L1090 seems to do the trick.
replace
with
I feel changing any option should not make JSON output invalid (wrt schema), if it was valid before setting that option.