feat #429 pattern as inputPattern on datepicker

Allow pattern to behave as input pattern when inputPattern is not defined
This allows to type a date in the same output format without having to
specify it

Close #429 Close #433