[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Support request => Please do not submit support request here
We can't find TreeSelect, Transfer, Upload components till now.
Is there a schedule for transplanting those components to ng-zorro from antd?
Looking forward for the whole set of components from antd.
Thanks.
The most important thing we need to do is to keep all bugs clean until 0.5.0 final version released.
TreeSelect Transfer and Upload components is on the schedule, but we can not promise the exact time.
And PR is welcome.
Upload component has been mentioned in #89.
@vthinkxie
Should the basic Upload Component be abstracted as described in react-component/upload and https://github.com/ant-design/ant-design/tree/master/components/upload ?
@thegatheringstorm
Just keep the api and style file https://github.com/ant-design/ant-design/tree/master/components/upload/style same as react version
Okay
Should I send you all the code for the upload component at once?Or,Send you the basic code so that you can judge whether my architecture has any problems earlier. @vthinkxie
@thegatheringstorm
You can submit your pr any time, we will review it after you finish your work.
thanks a lot.
Okay 😄
HttpModule is only needed when uploading.
Should I
import { HttpModule } from '@angular/http';
in AppComponent?
I really don't know how to deal with this.
And,in react-component/upload,a simple but useful tool has been written there.
Request.js
Which should I use (Request.js or the Http in Angular)?
The essence of the question is whether I should maintain consistency of style or make full use of the Angular
@thegatheringstorm please use the HttpClientModule
import { HttpClientModule } from '@angular/common/http'
you can find more information here
https://angular.cn/guide/http
如何在 _组件_ 中使用 HttpClientModule ?能仅仅在组件中使用 HttpClientModule 而不必把该组件转换为 Module 吗?
// app.module.ts:
import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
// Import HttpClientModule from @angular/common/http
import {HttpClientModule} from '@angular/common/http';
@NgModule({
imports: [
BrowserModule,
// Include it under 'imports' in your application module
// after BrowserModule.
HttpClientModule,
],
})
export class MyAppModule {}
这里只有定义为 MyAppModule(Module) 才能使用 HttpClientModule 吧。可是我们的上传组件是一个组件不是 Module 啊。
还望指教 :smiley:
@thegatheringstorm have a look at the source code, all components are export as modules
Thanks
Looks like Tree comp has been added now, but still missing Tree Select.
@vthinkxie treeselect组件有计划开发么,这个在复杂表单中应用还是挺多的
treeselect将在1.0正式版中放出
closed by #1477
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.
Most helpful comment
The most important thing we need to do is to keep all bugs clean until
0.5.0final version released.TreeSelect Transfer and Upload components is on the schedule, but we can not promise the exact time.
And PR is welcome.