How to conditionally disable field after date?