Add readonly option and improve the initial date values