Input date is not working correctly, probably because the mask! To test this put the type date on JSON definition to the input!