MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. joncedimov
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    J
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 3
    • Groups 0

    joncedimov

    @joncedimov

    0
    Reputation
    296
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    joncedimov Unfollow Follow

    Latest posts made by joncedimov

    • Newsfeed module blocking the cryptocurrency module

      Hi,

      Has anyone encountered a problem when having both newsfeed and cryptocurrency modules running at the same time (one of them dissapearing, normaly the cryptocurrency in my case)?

      When loading or refreshing both appear and are loading but as soon as newsfeed load completely the cryptocurrency completely disappears. It doesn’t happen with other modules and crytocurrency and haven’t noticed between newsfeed and other modules.

      If anyone has dealt with this before and can share solutions it would be much appreciated.

      posted in Troubleshooting
      J
      joncedimov
    • RE: Input field forces restart instead of update

      Thanks @ninjabreadman, that seems to do the trick for now :)

      posted in Troubleshooting
      J
      joncedimov
    • Input field forces restart instead of update

      Hi, I’ve just recently started with using raspberry pi and started with magic mirror.
      I created a module through the template provided, with the use for adding an input field.

      I’ve been running into an issue of each time I press the enter key on the keyboard after entering a text in the filed or just having the empty field, the magic mirror restarts itself and I’m back to square one.

      This is the code to create it iside the getDom function:

      getDom: function() {
         var self = this;
         var wrapper = document.createElement("div");
         
         self.config.form = document.createElement("form");
         self.config.inputbox = document.createElement("input");
         self.config.dropdownFields = document.createElement("select");
          
          self.config.inputbox.setAttribute("type", "text");    
          
          self.config.form.appendChild(self.config.inputbox);
          self.config.form.appendChild(self.config.dropdownFields);
          wrapper.appendChild(self.config.form);    
         
      	// If this.dataRequest is not empty
      	if (this.dataRequest) {
                         self.getInput();
                         self.getFields();      
      	}
      
      	return wrapper;
      },
      

      Every time I hit enter it refreshes the whole page.

      I’ve also added code for action on change:
      self.config.inputbox.onchange = function() {self.setVisibile(self.config.dropdownFields)};
      but even without this code it still
      The good news is I can notice that the onchange function works (just before everything is restarted).

      Does anyone have any idea why this is like that, do I need to change some settings I am not aware of??

      Thank you for any feedback.

      posted in Troubleshooting
      J
      joncedimov