ngzorro date selection box cannot be entered, only date can be selected
ngzorro date selection box cannot be entered, only date can be selected
is not the default can only select a date, cannot enter
looked at the document and demo, can indeed enter a date, but the input value may be cleared.
you can use the nzOnOpenChange
event to listen for events when date picker is closed, then get the entered date, convert it to the data type required by the component, and then set the value inside the component.
the temporary method is to use jq to limit, but this method is not very good
use version 0.7.0-beta.3 to get information about all selected nodes apiNzFormatEmitEventpropscheckedKeys? I don t know exactly how to implement this function ...
import { Component, ElementRef, OnInit, ViewChild } from @angular core ; import { Router } from @angular router ; import { NzModalService } from ng-zorro-antd ; import { NgForm } from @angular forms ; @Component({ selector: list , tem...
<ul nz-menu nzMode="inline"> <!-- <ng-container *ngFor="let route of routes"> <li *ngIf="route.path && route.data?.name" nz-menu-item [nzSelected]="isRouteSelected(route)&...