<textarea id="test">some long string</textarea>
<label class="active" for="test">Test Textarea</label>
"some long string" will show in text area with extra spaces >>> " some long string "
Found the solution for my issue:
<textarea id="test"> some long string </textarea> <label for="test" class="active">Test Textarea</label>
And it should be:
<textarea id="test">some long string</textarea> <!--In the same line--> <label for="test" class="active">Test Textarea</label>
I'm getting back into web development after several years and I'm running into issues just getting things set up right. I'm trying to initialize a modal with jQuery, but I'm getting an error that "$" isn't found. I added the jquery cdn and that fixed the inability to load jQuery, but then it can't find the modal function. I've downloaded the zip from materialize and included the materialize js and css. The css works, but I'm thinking that the js is supposed to include jQuery, but I'm rally not sure. I've forgotten so much of this.
What do I need to do to get the jQuery for modals working again?
My "chevron_left" and "chevron_right" is not working.... and upon seeing the website (https://materializecss.com/icons.html), it really is NOT working? Any update from you guys??
make sure you included this in the head
Hi there! As infodynamicsRene says, the icons do not work. They do not appear on the https://materializecss.com/icons.html website, only the label appears.
In the console I have this error:
Failed to decode downloaded font: https://fonts.gstatic.com/s/materialicons/v102/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2