angular-material-components icon indicating copy to clipboard operation
angular-material-components copied to clipboard

[Angular 15] check button issue

Open deepblue597 opened this issue 2 years ago • 2 comments

When i open the date-time picker the check button doesn't load and the time is not displayed Screenshot from 2023-09-30 15-28-52

after i click on the date-time picker the timer loads but the validations work each time i click on the increment buttons Screenshot from 2023-09-30 15-30-19

deepblue597 avatar Sep 30 '23 12:09 deepblue597

          <mat-label>your date</mat-label>
          <input
            matInput
            [ngxMatDatetimePicker]="picker"
            placeholder="Choose a date"
            formControlName="$yourFormName"
          />

          <mat-datepicker-toggle
            matSuffix
            [for]="$any(picker)"
          ></mat-datepicker-toggle>

          <ngx-mat-datetime-picker
            #picker
            [showSpinners]="showSpinners"
            [showSeconds]="showSeconds"
            [stepHour]="stepHour"
            [stepMinute]="stepMinute"
            [stepSecond]="stepSecond"
            [touchUi]="touchUi"
            [color]="color"
            [enableMeridian]="enableMeridian"
          >
          <ngx-mat-datepicker-actions>
            <button mat-button ngxMatDatepickerCancel>Cancel</button>
            <button mat-raised-button color="primary" ngxMatDatepickerApply>Apply</button>
          </ngx-mat-datepicker-actions>
          </ngx-mat-datetime-picker>
        </mat-form-field>

as the documentation says you need to add those buttons above ⬆️! This is tested and working in angular 15

frostedpenguin avatar Oct 18 '23 07:10 frostedpenguin

facing same issue

"@angular-material-components/datetime-picker": "^15.0.0", "@angular-material-components/moment-adapter": "^15.0.0",

image

sw-ms-pranavpatel avatar Nov 06 '23 13:11 sw-ms-pranavpatel