Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 18 16:47
    slavafomin opened #7012
  • Oct 18 12:39
    zorro-bot[bot] assigned #7011
  • Oct 18 12:39
    zorro-bot[bot] labeled #7011
  • Oct 18 12:38
    slavafomin opened #7011
  • Oct 16 13:43
    wendellhu95 edited #6980
  • Oct 16 13:43
    wendellhu95 edited #6980
  • Oct 16 13:42
    wendellhu95 edited #6980
  • Oct 16 13:42
    wendellhu95 edited #6980
  • Oct 16 13:42
    wendellhu95 edited #6980
  • Oct 16 13:41
    wendellhu95 edited #6980
  • Oct 16 12:37
    wendellhu95 edited #6980
  • Oct 16 12:31
    wendellhu95 edited #7009
  • Oct 16 12:29
    wendellhu95 labeled #7009
  • Oct 16 12:28
    wendellhu95 assigned #7009
  • Oct 16 12:28
    wendellhu95 opened #7009
  • Oct 16 12:25
    wendellhu95 closed #2728
  • Oct 16 12:20
    wendellhu95 unlabeled #2728
  • Oct 16 12:16
    wendellhu95 edited #6980
  • Oct 16 11:24
    wendellhu95 edited #6980
  • Oct 16 11:19
    wendellhu95 edited #6980
王长金
@cjwangd
the form is reset,but role tags still exists, could any one help?
exenestecnico
@exenestecnico
I do it like this
resetForm(values): void {
    this.userForm.reset();
    this.userForm.setValue(values);
  }
@cjwangd you can pass an object with empty values for each field, so roles wont have value anymore
sawyerbutton
@sawyerbutton
Hi, Hope this NG-ZORRO/ng-zorro-antd#4978 will be merged ASAP
王长金
@cjwangd
@exenestecnico
After i applied you suggest, it didn't make any change. here is mine. but thanks for your enthusiastic sincely
openAdd() { this.showAdd = true; this.userAddForm.reset(); this.userAddForm.setValue(this.initData); }
vivekj2010
@vivekj2010
Hi everyone, I'm new to this framework So, can someone help me out to setup custom theme for this framework in angular 9. I'm trying to setup custom theme but not able to setup because I'm using scss for styling but in framework documentation used less for setting up the theme. So, I'm confused between this. Can someone help me for setting custom theme?
Felix Wostal
@fel1xw
good morning everyone, I'm currently building a page with the tree component and was wondering how to add/remove root nodes. looks like there is no documentation available for that purpose and I could just found one issue created related to that topic but no useful example: NG-ZORRO/ng-zorro-antd#3264. Can anybody help me with that? The comment related to using the ... (spread) operator did not work for me when trying to reassign the nzTreeService.rootNodes with a new array.
yangyuhaizi
@yangyuhaizi
after use __Zone_disable_timers, NG-ZORRO will not refresh UI properly
Dick Lelyveld
@Dicko1966
How do I code this?
Untitled.png
xjuanc
@xjuanc

When having a form array with the following info:

{
   "products":[
      {
         "productId":20,
         "name":"Taiyaki Vainilla",
         "additionalPrice":0,
         "quantity":0
      },
      {
         "productId":21,
         "name":"Taiyaki chocolate",
         "additionalPrice":0,
         "quantity":0
      }
   ]
}

Is there any possibility I could access to both quantities value through a formControlName="quantity" in a radio group button? Can't manage to do so, already tried different things but they always (and kind of obvious behaviour) attach to each formGroup
I'd like for example that when I press on the first radio button, the quantity value sets to 1 and the other radio button sets to 0 (right now both are being clicked indepently)
current implementation:

<nz-radio-group class="c-product-selection-form__content-product-radio">
     <ng-container *ngFor="let modifierProduct of modifier.products; let modifierProductIndex = index;"
                [formGroupName]="modifierProductIndex">
       <label nz-radio [nzValue]="1" formControlName="quantity" [id]="modifierProductIndex" [nzDisabled]="modifierProduct.outOfStock">
              <ng-container *ngTemplateOutlet="modifierProductTmpl; context: {$implicit:modifierProduct}">
               </ng-container>
        </label>
    </ng-container>
</nz-radio-group>
Sundar svce
@sundarsvce_gitlab
how to add img src to ul li inorder to add local image as icon
Didar Burmaganov
@deedarb
https://stackblitz.com/edit/ng-zorro-antd-ivy-1z63fk
is it related to NG-ZORRO/ng-zorro-antd#5178 ?
Bug with cdk virtual scroll rendering when using nzServerSearch
marct83
@marct83
Having some trouble with nz-transfer. I'm trying to use a template for my items. I'd like to add a checkbox to the template. But I'm getting Errors. Here is my nz-transfer
  <nz-transfer *ngIf="showTransfer"
        [nzListStyle]="{ 'width.px': 700, 'height.px': 500 }"
        [nzDataSource]="list"
        [nzRender]="render"
        [nzTitles]="['All Groups', 'Current Groups']"
        [nzShowSearch]="true"
        [nzFooter]="footer"
      >
            <ng-template #render let-item> 
              <label nz-checkbox [(ngModel)]="item.waterfall"></label>
              {{ item.title }} </ng-template>
      </nz-transfer>
Errors are: core.js:6228 ERROR Error: NodeInjector: NOT_FOUND [NgControl] and Error: Multiple components match node with tagname label
Aljadis
@Tayuelo
Hi! does anybody knows how can I test the modal service's nzOnOk method?
image.png
Dick Lelyveld
@Dicko1966
@Tayuelo : I used this.modalRef = this.modalService.create({nzOnOk: () => console.log('foo'));
(create instead of confirm)
Dick Lelyveld
@Dicko1966
Does anybody know how to use a popconfirm in a modal? I can't get the popup on top ...
chi-chi weng
@wcc526
The dingding qr code is expired!
Zhihao Shen
@Sh-Zh-7
I'm new to nz, and I want to know what's the best way to read the source code of it.
Wai Yip Tam
@w.tam_gitlab
anyone made a nz-progress custom component? with clickable steps
faustopaggetti
@faustopaggetti
Hi, is it possible to use csp configprovider as React version in ng-zorro-antd for angular? Or we can avoid inline style for components?
Fanny-Bello98
@Fanny-Bello98
Hola, soy nueva con estos temas. Tengo problemas con el modal, solo me agarra el no me muestra la pantalla. ¿Alguien me podría orientar?
Ratan Kumar
@RatanKumar678
Hi All
I have to create a dynamic tab with a dynamic nav given by the server. Is there any solution or article available. Plz share the link. I'll appreciate you help.
2 replies
I'll Appreciate all the help i can get.
Hrvoje Bernardić
@hrvbernardic
Hi, anyone know of a way to implement fluid column resizing in a table component. Example in Experimental tab is listening for resizeEnd event and resizing only then.If i switch the logic to resize event which fires like 20 times a second the app freezes expectedly. I suppose currently it isn't possible with the resize directive but if anyone knows which way i should go about i would be grateful. Thx
hmoss3
@hmoss3
has anyone gotten ng-zorro-antd to work with ngx-echarts?
Kamlesh Samrit
@kamleshWorkspace_gitlab
Hi everyone,
Kamlesh Samrit
@kamleshWorkspace_gitlab
I am facing some issue with loading data in NG-ZORRO Table when I a trying to load data with 40 columns and 20 -30 rows it stuck page / taking time to render data on HTML. I have customized the CSS part as per the requirement added multiple dropdowns and search options but now I got stuck to figure out how to handle a large amount of data tried so many things. one more challenge is there to figure out infinite scroll on table pagination. I have implemented it but when data is more then page stuck for some time and not allow to do any operations. I am using Angular 8 for implementation. Can someone please help me to figure out this challenge? Your help will save my life. Thanks in advance
Ratan Kumar
@RatanKumar678
can we create a routing base dynamic tab in ng-zooro..?
Kamlesh Samrit
@kamleshWorkspace_gitlab
can some one please help me on above issue?
Cemal ÖCAL
@C3maLi
Hello, I am using ng-zorro datepicker but is it possible to do this?
I want to format the date in the input for example
2020-11-10 is not like this but I want to see 11 November 2020.
Thank you.
Cemal ÖCAL
@C3maLi
Can we dynamically use the Datepicker runtime nzFormat? When I change nzMode, I want it to be triggered in nzFormat. There is no problem in the popup that opens, but there is no change in the input field with the date selection.
AGOULZI mohamed
@agoulziprod
using a table with filter, can we know how many entry are visible after applying a filter ?
zero
@guanglingsuzhan
'nz-input-group' is not a known element:
anyone else have meet the error and how to solve ?
Cemal ÖCAL
@C3maLi
Did you import "ng-zorro-antd/input" module in the module you are using?
import { NzInputModule } from 'ng-zorro-antd/input';
Bilal Ahmed Yaseen
@bilalahmed54
I'm using nz-date-picker and I want to keep it open when form loads. I used [nzOpen] and I get the picker in opened form but it doesn't close then when I click outside. Can anyone please provide the solution?
Bilal Ahmed Yaseen
@bilalahmed54
https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/components/date-picker/demo/start-end.ts
I want to achieve exact this behavior but its not working in angular 8
Bilal Ahmed Yaseen
@bilalahmed54
@all
Cephas PAD
@cephaspad
hi anyone
Alex K
@alex-enchi
Hi all, couple of questions i have
  1. In the readme there's a discord chat but it is not reachable for me...
  2. I have a nz-collapse-panel with in *ngFor and want to add button on the right via nzExtra which supports TemplateRef. But what I can't figure out is it possible to pass data to that templateRef?
Alex K
@alex-enchi
The only option i've found is to add template to *ngFor and use it directly without context
sri2203
@sri2203
Nz button is not moving to end after applying nz row justify end.