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.

This is not a real select, problem with not defered loading

See original GitHub issue

a select has an option value and an option label

this select has only an option label

so i wont use it.

But anyway:

there was errors when loading your script. They only occurred when loading radio boxes as well and hovering over them:

http://imageshack.com/i/pmRbMovdp

i could fix it by loading the scripts like this:

    <script defer src="https://code.getmdl.io/1.1.3/material.min.js"></script>
    <script defer src="/js/mdl-select/getmdl-select.min.js"></script>

this way i would get errors:


    <script defer src="https://code.getmdl.io/1.1.3/material.min.js"></script>
    <script src="/js/mdl-select/getmdl-select.min.js"></script>

would cause the errors (note, the mdl select script is loaded from localhost). i could not reproduce with codepen, maybe because the mdl-select script eventually ends up loading faster

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
garnoldcommented, Aug 30, 2016

@Jossnaz Take a look at the example in the README, specifically the data-val attribute.

1reaction
franckevvacommented, Aug 30, 2016

Hi, @Jossnaz ! Can you formulate once more what you want to that we make? I don’t catch your idea. This select has option value.

About defer. Of course, this will only work in the first variant. The script will be executed after material.js.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why do I get N+1 select queries when lazy loading many-to ...
Anyone knows how I can really only load the playerRef entities without also loading the associated players? For my use case I need...
Read more >
Lazy render bootstrap-select · Issue #2187 - GitHub
Our pages were loading super slow when they had lots of big bootstrap-selects on them, ... preventDefault(); // do not open real select...
Read more >
Avoid Lazy Loading in ASP.NET - Shawn Wildermuth
I've been hoping to not have to make this post, but Entity Framework Core has finally added support for Lazy Loading, so it's...
Read more >
Lazy Loading in Entity Framework
LazyLoadingEnabled should be true. Navigation property should be defined as public, virtual. Context will NOT do lazy loading if the property is not...
Read more >
Lazy loading - Web performance | MDN
One of the methods we can use to tackle this problem is to shorten the Critical Rendering Path length by lazy loading resources...
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