Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 26 05:32
    simplejason closed #4743
  • Sep 24 14:11
    simplejason closed #3764
  • Sep 21 02:35
    yunyuyuan closed #7572
  • Sep 16 17:56
    FRdanielsuszczyk opened #7644
  • Sep 15 06:39
    CharmingGeeker edited #7639
  • Sep 15 06:29
    zorro-bot[bot] assigned #7639
  • Sep 15 06:29
    zorro-bot[bot] labeled #7639
  • Sep 15 06:29
    CharmingGeeker opened #7639
  • Sep 12 11:50
    majdi91 closed #7636
  • Sep 12 11:49
    majdi91 opened #7636
  • Sep 12 10:31
    majdi91 edited #7635
  • Sep 12 10:31
    majdi91 opened #7635
  • Sep 10 09:00
    QichenZhu closed #6951
  • Sep 08 07:50
    DuShuYuan closed #7634
  • Sep 08 06:43
    zorro-bot[bot] assigned #7634
  • Sep 08 06:43
    zorro-bot[bot] labeled #7634
  • Sep 08 06:43
    DuShuYuan opened #7634
  • Sep 06 10:50
    zorro-bot[bot] assigned #7631
  • Sep 06 10:50
    zorro-bot[bot] labeled #7631
  • Sep 06 10:49
    VitalyLitkevich opened #7631
Andrea Tarquini
@h4t0n
Are you sure? error tip is related to text
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