Yes, I've just been "clobbered" with this having specifically bought a longer cable for convenience.
Devious swines Apple.
I do however have a sort of "workaround" as I also have a genuine HDMI adapter for out iPad.
If I plug that in (unused) then plug the power cable into that it works OK. Less than elegant, but it does the job.
The iPad sees the genuine HDMI adapter supplying power so is happy and the adapter is too dumb to check its power lead is genuine.
There may be other (cheaper) accessories that can do the same.
By swapping bits around I have, I think, determined that it's the cable (not the charger) that is checked by IOS.