NXP-4760: fix the date range widget validation now that widget id is exposed to the context