Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 17:59
    zorro-bot[bot] assigned #7231
  • 17:59
    zorro-bot[bot] labeled #7231
  • 17:59
    strigefleur opened #7231
  • Jan 21 09:19
    yangjunhan edited #7228
  • Jan 21 09:19
    yangjunhan edited #7228
  • Jan 21 09:18
    yangjunhan edited #7228
  • Jan 21 08:13
    yangjunhan unassigned #7226
  • Jan 21 08:13
    yangjunhan unassigned #7228
  • Jan 21 08:12
    yangjunhan labeled #7228
  • Jan 21 08:12
    zorro-bot[bot] assigned #7228
  • Jan 21 08:12
    zorro-bot[bot] labeled #7228
  • Jan 21 08:12
    yangjunhan assigned #7228
  • Jan 21 08:12
    yangjunhan opened #7228
  • Jan 21 03:56
    yangjunhan edited #7226
  • Jan 21 03:48
    yangjunhan edited #7226
  • Jan 21 03:39
    yangjunhan edited #7226
  • Jan 21 03:08
    yangjunhan edited #7226
  • Jan 21 02:46
    zorro-bot[bot] assigned #7226
  • Jan 21 02:46
    zorro-bot[bot] labeled #7226
  • Jan 21 02:45
    yangjunhan labeled #7226
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.
Dick Lelyveld
@Dicko1966
@vthinkxie Could you give an example of a modal that has an input in it? Thanks!
Dick Lelyveld
@Dicko1966
@vthinkxie Found out myself. Don't need axample. Thx.
exenestecnico
@exenestecnico
How can I prevent the sort being triggered on a table column when resizing the column with the resizable component? When the mouseup event occurs over the th that's being resized it triggers the sort. I tried to prevent it in the nzResizeEnd event but I guess thats's too late. Can some one help me please? Example https://stackblitz.com/edit/angular-jqs53u?embed=1&file=src/app/app.component.ts . @vthinkxie
Ray McKaig
@RayMcKaig_twitter
I'm having some difficulty installing the package. Has anyone seen the errors below? image.png
gdp81
@gdp81
hi, I'm using "ng-zorro-antd": "^9.1.2" and I have a problem with table listOfFilter. If i use:
[
{ text: 'enabled', value: true },
{ text: 'disabled', value: false }
]
I'm not able to filter the false value and the filter callback return null
Anyone has the same problem?
Vishal Shah
@1nfected
Hi, I'm having a little difficulty with the "Tabs" component. I have created a small sample application to demonstrate the problem. https://stackblitz.com/edit/angular-fwrnfz
What I want is the blue and green boxes to scroll when it has extra content. The main page should never have scroll. As you can see, I've got it working for the first tab, but that breaks the second tab. When navigating to the second tab, the content is not visible at all.
And this is because of the css I've applied on .ant-tabs-content. I've set overflow: hidden on it.
If I remove it, I can't get the scrollbars to appear at all! Can someone please help.
SUSHEEL KUMAR
@susheel810578_gitlab
i wanted to filter table column
exenestecnico
@exenestecnico
nobody answers here?
Милан
@milan_ua_twitter
hey guys, I'm having problems with custom modal footer inside component, which doesn't work even on your example on stackblitz and codesandbox, how to solve this? https://ng.ant.design/components/modal/en#components-modal-demo-footer2 the one which is in component works on your page, but doesnt work on my local and at stackblitz and codesandbox aswell.
Ivan Skiridomov
@boskiv
Ivan Skiridomov
@boskiv
Almost, solved
Neil Sherman
@sherman_neil_twitter

Hi All,

Im trying to use a ng-zorro table which has a footer (rendered via a template) where that footer has multiple rows, but am struggling to determine the correct way to do this. The documentation only seems to show an example of rendering a footer string for all columns of the table.

If I have a table that has 4 columns, I would like two footer rows where on the first row the footer consists of 2 columns, each spanning 2 columns, and the second footer row spans all columns.

How/can this be achieved?

王长金
@cjwangd
image.png
the form is reset,but role tags still exists, could any one help?
exenestecnico
@exenestecnico
I do it like this