Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 10:03
    zorro-bot[bot] assigned #7665
  • 10:03
    zorro-bot[bot] labeled #7665
  • 10:03
    Nosfistis opened #7665
  • 09:39
    zorro-bot[bot] assigned #7664
  • 09:39
    zorro-bot[bot] labeled #7664
  • 09:39
    rehdie opened #7664
  • Oct 06 16:05
    waizao opened #7663
  • Oct 03 12:59
    zorro-bot[bot] labeled #7662
  • Oct 03 12:59
    zorro-bot[bot] closed #7662
  • Oct 03 12:58
    saif317 opened #7662
  • Sep 30 16:02
    zorro-bot[bot] assigned #7657
  • Sep 30 16:02
    zorro-bot[bot] labeled #7657
  • Sep 30 16:01
    razvanbh opened #7657
  • Sep 30 09:50
    abika opened #7656
  • Sep 29 12:25
    zorro-bot[bot] assigned #7654
  • Sep 29 12:25
    zorro-bot[bot] labeled #7654
  • Sep 29 12:24
    Nosfistis opened #7654
  • Sep 29 10:28
    rabbitkiller-dev edited #7653
  • Sep 29 10:24
    rabbitkiller-dev opened #7653
  • Sep 28 08:57
    zorro-bot[bot] assigned #7652
Edoardo Luppi
@lppedd
@h4t0n let me check for the icon.
Edoardo Luppi
@lppedd

@h4t0n look at setControlClassMap(), it's invoked every time valueChanges

this.validateChanges = this.validateControl.statusChanges.pipe(startWith(null)).subscribe(() => {
  this.setControlClassMap();
  this.cdr.markForCheck();
});

That method sets the icon based on nzValidateStatus.
It seems if you set nzValidateStatus = 'error', then only the error icon is used

} else if (this.validateString === 'error' || this.validateControlStatus('INVALID')) {
  this.status = 'error';
  this.iconType = 'close-circle-fill';
} ...
However it's a bit of a trade-off
It means you need to check & set it yourself when there is an actual error
Andrea Tarquini
@h4t0n
yeah I know
xjuanc
@xjuanc
someone knows a way to use nzScroll with dynamic height? I want to make my virtual scroll table full screen
Edoardo Luppi
@lppedd
@xjuanc you can't, it's based on CDK virtual scrolling, and it can't work with dynamic height
Edoardo Luppi
@lppedd
@vthinkxie Could you check this issue's comment about base classes? Currently it's still not possible to compile with Ivy
https://github.com/angular/angular/issues/30080#issuecomment-517595971
wendell
@wendellhu95
We are still working on Ivy.
Edoardo Luppi
@lppedd
@wendzhue ok! I don't think the fact that base classes must be annotated is mentioned anywhere though, I just randomly found it because compiling with --prod gave pretty much undefined bindings everywhere
Most likely if it wasn't for that I could have compiled
Francisco Palomares
@FranciscoPalomares
Hi, how to add drawer in componente? Not all document ?
Mahmudul Hasan
@mhasan.io_gitlab
can i use bootstrap in angular ant design ?
jovinual
@jovinual
image.png
image.png
I need help I don't know why that happens
Nattee Prasertsuwan
@nprasertsuwan_gitlab
Sorry, I want to try use ng.mobile.ant.design, It's works or not?
Edoardo Luppi
@lppedd
@wendzhue Hi! How do you use the nz-spin custom indicator global config?
How can I create a TemplateRef at module level?
I think this one can be done only "dynamically" via the NzConfigService
Right?
Edoardo Luppi
@lppedd
Opened NG-ZORRO/ng-zorro-antd#4318 with explanation
tangyan
@tangyan
I have a question about drawer in ant design angular.
It's about when the drawer at the bottom or top, the content cannot scroll.
Here is an example:
If change the "nzPlacement: 'top'" to "nzPlacement: 'left'", then the content can scroll.
Can someone take a look at this? I am pretty new to ant design/angular. I think it is probably some obvious problem.
Mahmudul Hasan
@mhasan.io_gitlab
@lppedd Thanks :)
Yadong Xie
@vthinkxie
what you need is something like a div with overflow:auto; style, it is not related to the component, but basic css @tangyan
Lukáš Kováč
@bossqone
Hello everyone, is there a way how to setup default date time for date picker (with time enabled)? I've tried using [nzShowTime]: { nzDefaultOpenValue: nowInDifferentTimezone } but no success
and without affecting ngModel
tangyan
@tangyan
@vthinkxie I tried overflow:auto overflow-x:hidden overflow-y:auto and none of them works. This is why I put a stackblitz.com link. The overflow:auto works in basic css in other places, but somehow not in the nzplacement = bottom.
tangyan
@tangyan
The question is answer here as FYI. I think there may be a bug in ng-zorro-antd itself. But anyway, https://stackoverflow.com/questions/58480128/content-in-drawer-cannot-scroll/58481020#58481020
thanks!
Wenqi
@wenqi73
@bossqone There is a bug with nzDefaultOpenValue in date picker. NG-ZORRO/ng-zorro-antd#4331, we will fix it soon.
Lukáš Kováč
@bossqone
Hi @wenqi73, any estimate when NG-ZORRO/ng-zorro-antd#4357 and NG-ZORRO/ng-zorro-antd#4346 will get merged?
azizkazdal
@azizkazdal
Germans Ribakovs
@gribakovs
Hi, any estimate when Resizable will be available for production use?
Francisco Palomares
@FranciscoPalomares
how to do datepicker starts on Monday ? thanks
Francisco Palomares
@FranciscoPalomares
image.png
I saw this, but I dont know where I insert it
Francisco Palomares
@FranciscoPalomares
fixed
{
provide: NZ_DATE_CONFIG,
useValue: {
firstDayOfWeek: 1, // week starts on Monday (Sunday is 0)
},
}
Mahmut Jomaa
@MJomaa
@MJomaa
Hello is there a directive for the nzModalTitle too?
image.png
Because then I can keep all related modal content in a single component and call it view the modal service.
GT_NilTor
@niltor
image.png
Anybody know what's the problem?
image.png
Andrey
@Xambey
Hello, please tell me, does auto tab navigation work when using the routerlink approach with fragments?
<nz-tabset nzLinkRouter nzLinkExact="false">
    <nz-tab>
      <a nz-tab-link routerLink="./" fragment="groups" >
        {{'accounts:Группы безопасности' | i18next}}
      </a>
      <ng-template nz-tab>
        <button nz-button nzType="default" (click)="bindGroup()">Добавить группу</button>&nbsp;
        <button nz-button nzType="default" (click)="unbindGroup()">Удалить группу</button>
        <br>

        <adm-table #securityGroupsTableComponent [settings]="securityGroupsTable"></adm-table>
      </ng-template>
    </nz-tab>
    <nz-tab>
      <a nz-tab-link [routerLink]="['./']" fragment="endpoints">
        {{'accounts:Точки доступа' | i18next}}
      </a>
      <ng-template nz-tab>
        <button nz-button nzType="primary" (click)="bindEndpoints()">{{'accounts:Таблица.Добавить' | i18next }}</button>&nbsp;
        <button nz-button nzType="default" (click)="unbindEndpoints()" [disabled]="!hasEndpointsSelectedRows">{{'accounts:Таблица.Удалить' | i18next }}</button><br>
        <adm-table #endpointsTableComponent [settings]="endpointsTable"></adm-table>
      </ng-template>
    </nz-tab>