ion-autocomplete icon indicating copy to clipboard operation
ion-autocomplete copied to clipboard

Add support for Ionic 3

Open fdagher1 opened this issue 7 years ago • 9 comments

I have an Ionic 3 working project. When I add the ion-autocomplete script tag towards the end of index.html and run the application I get console error: > Uncaught ReferenceError: angular is not defined at ion-autocomplete.js:1

I'm adding: <script src="https://rawgit.com/guylabs/ion-autocomplete/master/src/ion-autocomplete.js"></script>

fdagher1 avatar Jun 01 '17 01:06 fdagher1

Hi @fdagher1

that has not been tested yet. As you see here: https://github.com/guylabs/ion-autocomplete#ionic-compatibility the latest version of Ionic is 1.3.2. If you like you can create a pull request if you can make it work on Ionic 3 then we could update it.

But currently I won't be able to work on that.

Thanks and regards

Guy

guylabs avatar Jun 01 '17 05:06 guylabs

Is there any update on this?

sivajik34 avatar Mar 27 '18 01:03 sivajik34

Hi @sivajik34

not until now. But if you like, you can create a pull request with an update to Ionic 3.

Thanks and regards

Guy

guylabs avatar Mar 27 '18 04:03 guylabs

Just Yesterday started ionic.Actually, I'm PHP (Magento developer). I need to build small app for iphone ,android. I think it will take some time to grasp the things. after that, I will try to contribute.

sivajik34 avatar Mar 27 '18 04:03 sivajik34

Even I don't know angular js. at this point can i downgrade ionic version so that I can use ion-autocomplete. Please give me a suggestion on this. I think if you spend some time on this it won't take much time to upgrade?

sivajik34 avatar Mar 27 '18 04:03 sivajik34

You can always start with an Ionic 1.3.x project, but I would propose to start a new project with the latest version and then check what needs to be changed to make ion-autocomplete run on the latest Ionic.

guylabs avatar Mar 27 '18 05:03 guylabs

Can you give me some direction/ steps on this? From where I need to start? I mean converting js, CSS files into ionic 3. if you give little bit direction on this, sure I can convert to 3.

sivajik34 avatar Mar 27 '18 10:03 sivajik34

@sivajik34 You need to first upgrade the Angular part and then see what API's changed in Ionic 3. Besides that you need to adapt all the tests (unit and e2e).

guylabs avatar May 14 '18 19:05 guylabs

You can checkout this repo.

jrquick17 avatar Nov 07 '19 14:11 jrquick17