iStefo / ember-select-2

DEPRECATED IN FAVOR OF https://github.com/cibernox/ember-power-select
MIT License
144 stars 119 forks source link

trying to support fastboot #141

Open joshfester opened 8 years ago

joshfester commented 8 years ago

jQuery causes problems when trying to run fastboot

iStefo commented 8 years ago

Thanks for your efforts, I realize there are difficulties using this addon in a fastboot environment but haven't tried to do so myself since I haven't used an ember app with fastboot yet.

Is simply disabling the plugin the right choice in this case? Doesn't fastboot also aim at clients with no JS enabled? If I'm not mistaken, that would mean that there would be no select element at all?

And what about checks like this: https://github.com/iStefo/ember-select-2/blob/master/addon/components/select-2.js#L75

To make my point clear: Is there any hope at all for a nice path to fastboot using this component?

joshfester commented 8 years ago

I know it's possible, but I'm not sure how feasible it is without digging too deep. This was the path of least resistance for the project I was working on and it fit all of my needs. A more comprehensive solution would be much better, but this at least provides the bare minimum for Fastboot projects to run without errors