Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 29 17:39
    eduardoalcantara commented #1390
  • Nov 29 17:39
    eduardoalcantara commented #1390
  • Nov 29 17:38
    eduardoalcantara commented #1861
  • Nov 29 17:38
    eduardoalcantara commented #1861
  • Nov 29 16:54
    eduardoalcantara commented #1390
  • Nov 29 16:54
    eduardoalcantara commented #1861
  • Nov 29 07:28
    Saswat689 opened #6663
  • Nov 11 13:42
    phamquangbaoplus commented #6174
  • Nov 11 11:53
    21r8390 commented #5794
  • Nov 11 11:01
    21r8390 commented #5794
  • Nov 05 02:41
    esdeseace edited #6662
  • Nov 04 17:52
    esdeseace opened #6662
  • Nov 02 02:43
    edazpotato closed #6490
  • Oct 29 15:05
    feiticeir0 commented #6356
  • Oct 28 14:53
    LoganTann commented #6661
  • Oct 28 14:52
    LoganTann commented #6661
  • Oct 28 13:26
    LoganTann commented #6644
  • Oct 28 13:26
    LoganTann commented #6644
  • Oct 28 13:24
    LoganTann commented #6647
  • Oct 28 12:45
    dhavalveera commented #6661
Sean Doherty
@doughballs
@cmcknight nice, report back if you find something simple/working, I’ve never looked into it!
Chuck McKnight
@cmcknight
I've got something "relatively" simple, just doing a lot of testing today. There's a nice YouTube playlist here https://www.youtube.com/playlist?list=PLyuRouwmQCjl4iJgjH3i61tkqauM-NTGj
The only thing he leaves out seems to be the error handling for a promise, but that's pretty straightforward to do.
Guilherme Garcia
@guilegarcia
Hi, I would like to know if there are plans to update the materializecss project or has it been discontinued?
Chuck McKnight
@cmcknight
@guilegarcia It's been forked on Github http://github.com/materializecss/materialize. There's a 1.1.0-alpha branch that is currently being worked on. The 1.1 Gitter is https://gitter.im/materializecss/materialize.
Dero Kratzberg
@verdammte

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?

Sean Doherty
@doughballs
Did you Include jQuery first?
Anthony Leonardi
@AJLeonardi
@verdammte a jsfiddle would be very helpful for this. the exercise of trimming down your code might help you figure it out too. https://jsfiddle.net/
kuruczp
@kuruczp
Hi guys, can someone please help me? I'm trying to use a select field. However, when I try to listen to the change event and get the selected value, the instance.getSelectedValues(); returns the previous selection and not the current one. How to get the current selected value of the field with JS?
kuruczp
@kuruczp
@Dogfalo can you check that out please?
Sean Doherty
@doughballs
@kuruczp just get the value of the input using JavaScript.
kuruczp
@kuruczp
That doesn't work either @doughballs
Sean Doherty
@doughballs
It does, I use it all the time
Are you using jQuery? Simplest way ‘$(‘select’).val();’
kuruczp
@kuruczp
@doughballs you are all right! Thank you!
Anthony Leonardi
@AJLeonardi
I'm running into the issue with the dropdowns on iOS. I know there's a patch here: https://github.com/Dogfalo/materialize/issues/6514#issuecomment-594657199 , but I'm currently using the cdn hosted 1.1.0-alpha version. I've never applied a patch before, though. Could someone help me through the steps for this? can I just remove those lines in the materialize.min.js file and host that myself? or is it some other process? Thanks!
Sean Doherty
@doughballs
@AJLeonardi if you download the project fork you can use that js file instead of using the cdn. It’s that simple. Failing that, download the patch (select.js) and serve that after the CDN, which should work.
Anthony Leonardi
@AJLeonardi
thanks, @doughballs I was confused about downloading the fork because it didn't look like any updates regarding this have been merged. But also the project has the js spread across a ton of files (rather than just one file). If I download the patched select.js from the "old" dogfalo repo, will that play nice with the new alpha?
Sean Doherty
@doughballs
Only one way to find out! 😂
Anthony Leonardi
@AJLeonardi
@doughballs haha I feel like I"m the only one that has this issue. Is the dropdown control not commonly used? I feel like this is something that would get fixed asap.
if that doesn't play nice. which js file are you talking about in the project fork? or do I have to do some magic to the code to get it into a single file after forking it?
Sean Doherty
@doughballs
@AJLeonardi I’d be very surprised if the fork has not fixed it. I’ve actually never used it but I know it was high on the list. To use the patch in the past I loaded materialize.js, then select.js, and this worked for me.
Anthony Leonardi
@AJLeonardi
thanks, @doughballs !
Anthony Leonardi
@AJLeonardi
ah - sorry, I'm an idiot. my issue is with the dropdown component, not the select (so a patched select.js doesn't help). This is the open issue from the materializecss repo: materializecss/materialize#31 @doughballs
I'm just not sure how to actually do these fixes on my end
Zee98
@Zee98
hello all. hope all is well. recently I needed to work with collapsible ul, li. Now, I want to put the active class on the last time the li was active. to do this, i have saved the active li to localstorage and when i add the active back to li that was opened last time. this adds the active class for the targeted li. but it does not open it or does not activate. i am doing this via jquery and js. any idea and suggestion or solution?
i am doing this for the nest time page load. so, if one reload the page, it should activate the li that was opened last time.
Marcos Cesar Domingues
@RacconWebFenix
Can anyone help me with materialize in reactJS. Why does the waves-effect button class not work in reactJS?
infodynamicsRene
@infodynamicsrene
Hi... it seems that there is something wrong with materialze icons?? Link here; https://materializecss.com/icons.html
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??
ShinProg (Logan Tann)
@LoganTann

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 <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

Esteban castro Sola
@estebancastrosola

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

@infodynamicsrene Hi! Have you been able to solve the error?
cimenta
@cimenta
hi, is there a chance that some old browser will not support MaterializeCSS? How old browsers would it be?
Esteban castro Sola
@estebancastrosola
Hi, the error occur in Chrome latest version, Firefox latest version and Chromium latest version
LEGENDTHUNDER1
@LEGENDTHUNDER1
How to save my website form profile and password
Nandhakumar
@Nandhakumarpro
hi, can anyone help me find the issue in my code.Dropdown not working properly is the issue.
the code snippets available here
https://codepen.io/nandhakumarpro/pen/jOwYRXJ
swadiqcmd
@swadiqcmd
better if materialize add every color known publicly with special names to css class like lavender ivory silver navy blue lilac
jshster
@jshster
boy things have gone reeaaally quiet in here..... if anyone is still around, can anyone help me with an interesting scenario. I'm using the Materializecss datepicker .... I am using it to setup sporting matches on a specific day of the week, depending on the competition selected. So if I select Monday Mixed Basketball I only want the Monday's to be enabled but if I select Wacky Wednesday's, well I then only want Wednesday's enabled. I was thinking the easiest was to do this would be to have a data attribute with the day of the week and then use that in the disableDayFn method.... but I can't work out for the life of me how to access the data attribute. I'm trying to avoid using ID's or anything remotely hard coded. Any ideas?
Grzesiek Kozdroj
@GrzesiekKozdroj
While using materialize carousel with react router, if the carousel is initiated through router it doesn't show. I cannot seem to initialise it in neither through componentDidMount nor in useEffect. These just throw error that on line 529 of materialize.js, this[0] is undefined
Chuck McKnight
@cmcknight
@jshster, the new development on materialize is on the 1.1 branch (see my comment above). That group is more active than this one which seems to be somewhat abandoned.
1 reply
Yousifnaim
@Yousifnaim
function multiply(a, b){
a * b
}
what is the problem in this javascript code ??
jshster
@jshster
@Yousifnaim you aren’t returning the value. The body of the function should read as follows:
return a*b;
SeCrEt BoY™
@khanh-nt
const multiply = (a,b) => {a*b}
Ghost
@ghost~6160769e6da03739848777f1
Hello guys, currently im working on a project and I need some help. Is it possible to reinitialize? I'm creating some popups and the functions aren't triggering. I think its because they are not registered in the object, arent they?
Chuck McKnight
@cmcknight
@angu-dev Yes, I was informed of this a few months ago. You need to re-initialize with the same 'options' and everything works. I was using a select list and needed to re-initialize the control (which is wrapped in other stuff, hence the need for re-initialization).