During Ekadasi one must not partake any food, it is considered secondary if one partakes food owing to physical disability or any other reasons.
One must avoid whole rice, and the rest including using urad dal is also considered secondary during Ekadasi.