Topic: Date picker not rendering properly
shuailiu.usa pro asked 7 years ago
Edyta Dabrowska free answered 7 years ago
Łukasz Salamon pro commented 7 years ago
hmm if we shouldn't compare example page to angular components then maybe example application should actually use all components to showcase their use. In that way you would be able to test and pick up quite easily on issues like that. And more important developers using MDB would have real live full examples of usage of the components not just example page which shouldn't be compared to components.OpenToDine free commented 5 years ago
I bought this professional version and the fact this issue still exists 2 years later is not cool at all. I am spending my entire weekend modifying my app to work around this layout issue. We use professional 3rd party kits to save time, not to spend our weekend doing your work for you 2 years after an issue has been identified and you blow it off with platitudes.
Arkadiusz Idzikowski staff commented 5 years ago
Which version of MDB Angular do you use and what is the exact problem?
There were many issues mentioned in this topic and I'm not sure which one you are referring to.
shuailiu.usa pro answered 7 years ago
I got another issue to render October see screenshot here https://photos.app.goo.gl/p45hGDcWEWOaQYzC3 , the three buttons on bottom passed the div boundary.
Łukasz Salamon pro answered 7 years ago
Łukasz Salamon pro answered 7 years ago
Hi,
I did try that along with other settings but that only changes labels to German.
The dropdowns for month and year are always there.
I can see option 'editableMonthAndYear' but that doesn't change anything. Actually I've tried changing multiple options non have any effect on the controll :
disableHeaderButtons: true/false,
editableMonthAndYear: true/false,
inline: true/false,
showInputField: true/false
I've inspected example page and I can see that the same dropdowns are in DOM but are hidden - by the css element :
select {
- font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
- display: none!important;
}
When shown they render in the same way.
Link to picture : https://c1.staticflickr.com/5/4345/36911431842_35a7355312_b.jpg
To sum up about dropdowns:
I think they are usefull but would be nice if they were styled lake the rest of the control (not browser default) and if there was a way to hide them through options.
Edyta Dabrowska free answered 7 years ago
public myDatePickerOptions: IMyOptions = {
dayLabels: {su: 'Son', mo: 'Mon', tu: 'Die', we: 'Mit', th: 'Don', fr: 'Fre', sa: 'Sam'},
dayLabelsFull: {su: "Sonntag", mo: "Montag", tu: "Dienstag", we: "Mittwoch", th: "Donnerstag", fr: "Freitag", sa: "Samstag"},
monthLabels: { 1: 'Jan', 2: 'Feb', 3: 'Mär', 4: 'Apr', 5: 'Mai', 6: 'Jun', 7: 'Jul', 8: 'Aug', 9: 'Sep', 10: 'Okt', 11: 'Nov', 12: 'Dez' },
monthLabelsFull: { 1: "Januar", 2: "Februar", 3: "März", 4: "April", 5: "Mai", 6: "Juni", 7: "Juli", 8: "August", 9: "September", 10: "Oktober", 11: "November", 12: "Dezember" }
};
Edyta Dabrowska free answered 7 years ago
Łukasz Salamon pro commented 7 years ago
Well I've used your example application - the one that I've downloaded from profile page. Not sure what other files I could move there ? I've just added code from datepicker example page to app.component.Łukasz Salamon pro answered 7 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: Yes