mdbootstrap / material-design-for-bootstrap

Important! A new UI Kit version for Bootstrap 5 is available. Access the latest free version via the link below.
https://mdbootstrap.com/docs/standard/
MIT License
9.35k stars 1.15k forks source link

md-form ... input type "week" and "month" #235

Closed ThierryNapspirit closed 4 years ago

ThierryNapspirit commented 5 years ago

Why don't you add support to input "week" and "month" using "md-form".

File: "scss/free/_forms.scss".

At the beginning, after input[type=datetime-local] insert input[type=week], input[type=month],.

Then insert on line 112:

    >input[type=week]:not(.browser-default)+label {
        transform: translateY(-27px) scale(0.8);
        transform-origin: 0 0;
    }
    >input[type=month]:not(.browser-default)+label {
        transform: translateY(-27px) scale(0.8);
        transform-origin: 0 0;
    }

Thanks.

Best regards. Thierry

pglejzer commented 5 years ago

Hi. I added your solution to our list to do. We are gonna think about it and we will test it and if everything will good, we gonna add to our packages. Have a nice day.