I have a minor conflict between Materialize and JQuery.UI over the .autocomplete method, and the described 'solution' is to use the Materialize 'M' backup method -- M.autocomplete(element, data).
In a more Javascript centric environment such as React, the solution would be import M from 'materialize' and then use the M. How do I get the M object with this gem?