title: How to detect a close event for a materialize select dropdown
body: <p>I'm trying to implement label functionality for select as for text input: when select is opened, the label goes smaller, and when select is closed, if no value is selected, returns to initial position.</p>
  
  <p>I was able to put two divs, one for regular input label and other for the select dropdown.</p>
  
  <p>The select dropdown will be hidden initially and only the input label will be visible. On clicking the input label, I am hiding the label and then showing the select dropdown and triggering the drop down open event so that the drop down opens automatically. Now the issue is if nothing is selected from the drop down and if I close the drop down, I want to hide the select drop down and show the input label.</p>
  
  <p>I have tried onClose() onChange() and nothing seems to work.</p>
  
  <p>onChange() can only detect if I select an option from the dropdown. But it doesn't detect close if nothing is selected.</p>