Topic: Have IMyOptions Repalcement in new MDB 5 ?
In mdbootstrap laters version (mdb-angular-ui-kit) have any replacement to "IMyOptions (ng-uikit-pro-standard)" ???
import { ModalDirective, IMyOptions } from 'ng-uikit-pro-standard';
export class AvailabilitySetupComponent implements OnInit { public availableFromOptions: IMyOptions = { disableUntil: { year: parseInt(moment().format('YYYY'), 10), month: parseInt(moment().format('MM'), 10), day: parseInt(moment().subtract(1, 'day').format('DD'), 10) }
public availableToOptions: IMyOptions = this.availableFromOptions;
constructor( private eventService: EventService, private router: Router ) {}
ngOnInit() { const hasSkipOrCompleteWizard = localStorage.getItem('hasSkipOrCompleteWizard'); if (hasSkipOrCompleteWizard === 'true') { this.router.navigateByUrl('application/my-calendar'); } if (parseInt(moment().format('DD'), 10) === 1) { this.availableFromOptions.disableUntil.month = parseInt(moment().subtract(1, 'day').format('MM'), 10); } if (this.availableFromOptions.disableUntil.month === 12) { this.availableFromOptions.disableUntil.year = parseInt(moment().subtract(1, 'day').format('YYYY'), 10); } this.availabilityTimeArray = DateTime.getRemainingSlots(moment().add(1, 'day')); this.calculateEndTime(this.availabilityStartTime); }
};
}
Grzegorz Bujański
staff answered 4 days ago
The Angular 5 MDB is still in alpha and not all components are available yet. At the moment the Datepicker has not yet been added.
shamanga
pro premium answered 3 days ago
This is really misdirecting. You advertised it as you have 5000+ components including datepicker but the truth is you're on Alpha. Please refund my money as this is not any use for us.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB 5
- MDB Version: 3.2.0
- Device: any
- Browser: Chrome
- OS: os
- Provided sample code: No
- Provided link: No