kysonic / riot-mui

Set of material ui components for riot js.
MIT License
151 stars 14 forks source link

issues with valid on material-input #35

Closed mikey0000 closed 7 years ago

mikey0000 commented 7 years ago

I can neither add a function or use regex without errors. This is with riot 2.6.7

when using regex I get the following error

SyntaxError: Unexpected token )

I get function undefined errors with the function.

kysonic commented 7 years ago

@mikey0000

I think it can be related with attributes parsing. I will check it out. Thanks.

kysonic commented 7 years ago

@mikey0000

I was trying to reproduce described bug but it didn't happen... Could you please provide your regular expression? Or your material input HTML. I have tested regex validation Here. You can take this example and build your own meterial-input using it.

mikey0000 commented 7 years ago

@kysonic dunno what i was doing but entering regex into valid is working fine. sorry for the false alarm, if I figure out what I was doing before to do it I'll pop it in here.

kysonic commented 7 years ago

@mikey0000

No worries)