Enhance widget input dependency