Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 19 10:49
    zorro-bot[bot] assigned #7449
  • May 19 10:49
    zorro-bot[bot] labeled #7449
  • May 19 10:49
    duxard opened #7449
  • May 19 05:43
    zhangyunhai2021 closed #7447
  • May 19 03:05
    zorro-bot[bot] assigned #7448
  • May 19 03:05
    zorro-bot[bot] labeled #7448
  • May 19 03:05
    yy7054wyq5 opened #7448
  • May 19 02:56
    zhangyunhai2021 opened #7447
  • May 17 06:18
    zorro-bot[bot] assigned #7439
  • May 17 06:18
    zorro-bot[bot] labeled #7439
  • May 17 06:17
    Zebra-web opened #7439
  • May 17 02:21
    zorro-bot[bot] assigned #7438
  • May 17 02:21
    zorro-bot[bot] labeled #7438
  • May 17 02:21
    guanyq2022 opened #7438
  • May 16 09:02
    simplejason edited #7389
  • May 16 09:02
    simplejason edited #7389
  • May 16 06:09
    simplejason edited #7389
  • May 16 05:37
    simplejason edited #7389
  • May 15 13:05
    dusdong opened #7433
  • May 13 18:34
    maratkalibek opened #7432
jinesha123
@jinesha123
@wenqi73 Can i enable Ivy and compile my angular8 application with ng-zorro-antd?
Francisco Palomares
@FranciscoPalomares
How to add popconfirm in remove button in upload component ?
Vladimir Mechkauskas
@elartix_twitter
Hi Guys
I have a problem with nzHasFeedback
I have a control with async validator
control not pending
but I will see spinner
image.png
Francisco Palomares
@FranciscoPalomares
Less variable to change text color in danger button ?¿
Another thing, anchor works in lazy loading ?
Mahmut Jomaa
@MJomaa
Can you always render the up and down buttons of an input number control? Currently only works on hover.
image.png
Mahmut Jomaa
@MJomaa
Just override the opacity of ".ant-input-number-handler-wrap" to 1.
mihmilicio
@mihmilicio
Hi
is there an equivalent to bootstrap .col-auto in the grid component?
can't find it
Francisco Palomares
@FranciscoPalomares
Hi, setValue not update view in select component ?
jseblavoie
@jseblavoie
Hello! Just have a tiny question: I would like to generate nz-steps with bindind data, but I also have a template attached to nzTitle and nzDescription. But I don't have access to the data inside the templates. If someone could help me it would be awesome. Here's an example:
  <nz-steps [nzCurrent]="1" nzProgressDot nzDirection="vertical">
    <nz-step *ngFor="let item of listOfSteps" [nzTitle]="titleTemplate" [nzDescription]="descriptionTemplate"></nz-step>
  </nz-steps>
  <ng-template #titleTemplate>
    <!-- html code -->
    {{item.title}}
    <!-- more html code -->
  </ng-template>
  <ng-template #descriptionTemplate>descriptionTemplate</ng-template>
Juan Manuel Saad
@juan-saad
Hey sorry to bother, does someone is having problems with ivy on angular 9 and ng ant zorro? I'm having this issue when I run ngcc command as suggested in angular official site: Error: Tried to overwrite /node_modules/ng-zorro-antd/checkbox/nz-checkbox-wrapper.component.d.ts.__ivy_ngcc_bak with an ngcc back up file, which is disallowed
mkarpovets
@mkarpovets

I am using the ng-zorro library.

I have an issue with upload component(https://ng.ant.design/components/upload/en) for file uploading

When I am trying to set thumbUrl:

this.fileList = [
{
url: ${environment.imageUploadUrl}/${this.imageUploadSection.value}.original,
thumbUrl: ${environment.imageUploadUrl}/${this.imageUploadSection.value}.thumbnail
}
];
I got the default image:

image.png
How can i Fix it?
Ghost
@ghost~5e5f556cd73408ce4fdb8519
Can I use ng-zorro-antd in angular project which includes bootstrap theme?
Francisco Palomares
@FranciscoPalomares
How to update table with dynamic data ?
Innomalist
@Innomalist
I think there is a bug with table pagination on beta 2 when disabling frontPagination and setting total. Beta 0 was ok but I updated to beta 2 and this issue appeared.
Innomalist
@Innomalist
It always shows one page even if I set total manually to a fixed amount (total: 25, pageSize: 10, nzFrontPagination: false, nzServerRender: true)=>table pagination shows one page
trying to create a repro rep
Yadong Xie
@vthinkxie
Hi @Innomalist could you provide a repro rep in the github issue, we will help you there
izio38
@izio38
Hi, Is it possible to use the .less files to replace some css rules without forking the repo ? I'd like to have future releases but with some styling adjustments
Innomalist
@Innomalist
@vthinkxie Thank you it seems commit is already made, Waiting for your next version bump. It seems package can't be installed by pointing into GitHub rep so your npm version bump would be the only way
Ivan Skiridomov
@boskiv
I have found a duplicate error on the documentation website, how should I report it?
hersir1
@hersir1
How can I make ng zorro modal draggable?
Aljadis
@Tayuelo
image.png
Hello. This ant-card-picker-icon has a position: absolute and it is overlapping my fixed columns, any ideas to solve this?
Lukáš Kováč
@bossqone

Hello, is there a way how to show validation messages for form group? I've tried:

<nz-form-item *ngIf="operator === SegmentConditionItemOperator.IS" class="mb-0">
  <nz-form-control [formGroup]="formGroup" [nzErrorTip]="errorTip" [nzValidateStatus]="formGroup">
    <nz-form-item class="mb-0">
      <nz-form-label [nzSpan]="4">Period From</nz-form-label>
      <nz-form-control [nzSpan]="20">
          <nz-date-picker
            appCalendarPreset
            nzShowTime
            formControlName="from"
            [nzPlaceHolder]="'core.placeholders.datePicker' | translate"
          ></nz-date-picker>
      </nz-form-control>
    </nz-form-item>

    <nz-form-item class="mb-0">
      <nz-form-label [nzSpan]="4">Period To</nz-form-label>
      <nz-form-control [nzSpan]="20">
          <nz-date-picker
            appCalendarPreset
            nzShowTime
            formControlName="to"
            [nzPlaceHolder]="'core.placeholders.datePicker' | translate"
          ></nz-date-picker>
      </nz-form-control>
    </nz-form-item>
  </nz-form-control>
</nz-form-item>

<ng-template #errorTip let-control>
  <div class="qa_infinite_range" *ngIf="control.hasError('infiniteRange')">
    Infinite range
  </div>
  <div class="qa_rotated_range" *ngIf="control.hasError('rotatedRange')">
    Rotated range
  </div>
</ng-template>

In editor I can see: Type FormGroup is not assignable to type string | FormControl | FormControlName | NgModel and it doesn't work in browser.

Also, I'm not sure if it's okay to nested nz-form-item, any suggestions?
Abu Ibne Bayazid (Imon)
@imonbayazid
Hi i am new to ant design
I was using this with angular cli.
Everything is working when I put my design into app.component.html file but if I want to use it into another module it shows lots of error like 'nz-form-item is not a known element' .
How can I access the design from any module?
I was stuck for a while and cant figure out what to do.
Please help me
I got error like 'isCpllapsed' doesn't exist of the component and many more error.
Abu Ibne Bayazid (Imon)
@imonbayazid
Please help
Mahmut Jomaa
@MJomaa
You have to make a SharedModule and import/export the NgzorroAntdModule. Then import your SharedModule into your other modules.
Paul Bijan Coch
@paulbijacho_twitter
Hey guys, nice to be here! I came across this bug (NG-ZORRO/ng-zorro-antd#5063) and wanted to know how the procedure goes, until this is available in a npm-package?
Wenqi
@wenqi73
@paulbijacho_twitter This has been fixed in 9.0.2
Paul Bijan Coch
@paulbijacho_twitter
@wenqi73 thanks you so much
Kuys Berg
@kberg_gitlab
Hi just wanna ask, I'm working with confirmation message (wihch use NzModalService), and I have to add input element tag inside nzContent propery but it's not working, Can anyone know how to do this? https://stackoverflow.com/questions/61391371/how-can-i-add-html-codes-input-tag-and-icon-in-nzcontent-property-of-nzmodalse
Kuys Berg
@kberg_gitlab
I'm using version 8 of ng-zorro
Yadong Xie
@vthinkxie
the nzContent should be a TemplateRef or a Component, you pass a string to it.
Max Gordey
@Gordey
Hello guys! Exist any way use nz-upload in form?
xjuanc
@xjuanc
Hello, someone knows why my select with [multiple]="true" shows blank at first until I clicked somewhere? Looks like something odd with the OnPush strategy but everything else works ok. Haven't been able to duplicate it on stackblitz so far
Selects without multiple works as usual. It'd be interesting to mention that I had 8.5.2, along with Angular 9 and I was having the same issue but only happening to the normal select. The one with multiple was working fine. After upgrading to 9, it started happening to the multiple one only
Gouthami Kokkula
@gouthami-quantiphi_gitlab
Hello team,
I'm using ant design in angular .
image.png
the table component is working fine in chrome but it's showing extra scroll when viewed in firefox v73.0. can anyone solve this issue
exenestecnico
@exenestecnico

How to have fixed size checkbox column in nz-table while using nz-resizable directive?

I really need to use the resizable component in the tables of my app, so columns can be redimensionable. I know it's on experimental state, but I need it and its working fine, mostly. Also need to have a first column with checkboxes for selection purposes. I expected the checkbox column to remain fixed size. What is happening is the checkbox column changes width when I resize the other columns.

Here is an example forked from documentation
https://stackblitz.com/edit/angular-jqs53u?embed=1&file=src/app/app.component.ts

Highly appreciate any help.

exenestecnico
@exenestecnico
A dirty little trick solved it. Added a dummy column at the end that gets resized instead, and bind the width of checkbox column to a variable. The link in the post shows the final state.