Open 4nd1m4n opened 6 years ago
Hi, Does anybody know about a temporary workaround?
(Simply import the rxjs-compat package for now.)
Meaning in package.json: { "name": "md2", "version": "0.0.29", "description": "Angular2 based Material Design components, directives and services are Accordion, Autocomplete, Chips(Tags), Collapse, Colorpicker, Data Table, Datepicker, Dialog(Modal), Menu, Multiselect, Select, Tabs, Tags(Chips), Toast and Tooltip.", "author": "Dharmesh Pipariya pipariyadharmesh@gmail.com", "homepage": "https://github.com/Promact/md2", "bugs": "https://github.com/Promact/md2/issues", ... "dependencies": { "rxjs": "^5.0.1", ...
Here you will probably have to switch to: "rxjs": "^6.0.0", "rxjs-compat": "^6.0.0",
Change rxjs version and add rxjs-compat. Then it -should- work again.
Thanks!
hey guys How can I achieve that md2 run with angular 6x Do I have to fork the repo and change the package.json file to the new rxjs version?
How can I then build and include the fork in my project?
Hi there, just migrated my app to Angular 6 and have this in package.json: "rxjs": "^6.3.3", "rxjs-compat": "^6.3.3", The only thing that is not working in my app is the m2DateTimePicker? Getting the following error: Uncaught (in promise): TypeError: rxjs_Observable__WEBPACK_IMPORTED_MODULE_3__.Observable.fromEvent is not a function
Can confirm, am having same issue at @nader-eloshaiker, but with colorpicker.
https://github.com/ilmstudios/md2/commit/5b75cdb73dec2bfe15f45787e3f172b2135505af
Having the same issue. Any workaround?
@nikuelias I submitted a PR: https://github.com/Promact/md2/pull/325
I am very appreciative of this pull request, is there any way to move this review along quicker so that is can be published? Would appreciate it even more :)
Can someone please review this PR? this would be great!
@ilmstudios would you consider perhaps publishing your repo to npm, I get the feeling that this repo is either abandoned or relegated to casually supported.
@ilmstudios yes please publish your repo, I think a lot of people would need this change...
Ok I’m abondoning this project and moving on. It looks like the future of this project is dead. Thanks for all the work up to this point and all the best.
I republished a npm package (https://www.npmjs.com/package/angular-md2) supporting rxjs6, If someone reaches here and still waits for a new version of this project. I only used md2 datepicker, and didn't test the others.
Bug, feature request, or proposal:
What is the expected behavior?
What is the current behavior?
What are the steps to reproduce?
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, MD2, OS, browsers are affected?
Is there anything else we should know?