Closed prateekbh closed 8 years ago
@kysonic taking this up...
@prateekbh Yes, this is a problem. A first version of material input contained solution:
... name="{opts.name}" ,
but for some reason in last version of riot.js this code has stopped to work. I've made quick fixes but i haven't resolved this problem in general.
PS. i'll check out your PR a little bit later.
@prateekbh I've rewritten code a little bit. There were a couple of mistakes. For example i've tried to obtain an element by its name before it was ready. I've moved this code into "mount" callback and everything started to work.
current code is
this hard codes name of input to be "input" this hard code should only be a fallback