Applying datebox changes to custom element date