formly-js / angular-formly-templates-lumx

LumX Templates for Angular-Formly
https://af-lumx.herokuapp.com/
MIT License
35 stars 14 forks source link

hi~! I have a question. #3

Closed YoungsoonLee closed 9 years ago

YoungsoonLee commented 9 years ago

Hi. thank you for template for lumx. it's awesome. i have a question. i used Multiple Select like below.

$scope.formFields = [{ key: "platform", type: "lx-select-multiple", label: "Multiple Select", placeholder: "Choose an kind of platform", selected: "name", choice: "email", choices: [{ name: "Adam", email: "adam@email.com", age: 10 }] }];

but i met a error like below. "event.returnValue is deprecated. Please use the standard event.preventDefault() instead. jquery.min.js:16"

and this Multiple Select is not working. i think that this problem is maybe conflict between jquery and lumx or formly. Do you know when this problem happen? and Do you know how to solve this problem?

your templates is very nice. thanks again.~!

ShMcK commented 9 years ago

Hi Youngsoon,

1) Select is working but not Multiple Select?

2) Are you using Bootstrap as well? I had an issue earlier with LumX using the same global variable names as Bootstrap.

3) Which version of jQuery are you running? I've only tested it on 2.x.

By any chance, are you in Korea? If so, add me to Kakao, id: shawnmckay.

YoungsoonLee commented 9 years ago

hi...~! Are you living in Korea? wow surprise.. i'm Korean , but now i'm living in Canada. i have lived in here since 2014. Just 1 year. haha :)

so. i answer your asking below.

1) Select is working but not Multiple Select? -> Select is not working too. but textfield is working.

2) Are you using Bootstrap as well? I had an issue earlier with LumX using the same global variable names as Bootstrap. -> yes. i'm using Bootstrap .

3) Which version of jQuery are you running? I've only tested it on 2.x. -> i'm using { jQuery v2.1.3 }

and i request to make friend Kakao Talk :) Have a nice day~! :)

YoungsoonLee commented 9 years ago

i found that what problem is. also bootsrap problem... select and multi selet is working when i remove bootstrap

so...is there any way to use both lumx and bootstrap?

ShMcK commented 9 years ago

If you can pinpoint what the namespace overlap is between Bootstrap and LumX, I imagine LumX might consider accommodating. I narrowed it down to all dropdown menus not working with Bootstrap, but not any further. I just chose to stick with one or the other as they are both complete style frameworks.

Well it seems we have switched countries. The reason I asked is that there isn't much of an Angular or even Javascript community in Korea. If you know of one, share my Kakao.

YoungsoonLee commented 9 years ago

ok. i will find what the namespace overlap. :) and i don't know too that Angular or even Javascript community in Korea.. sorry :)

have a nice day~!