Custom duration input type for AutoForm