Hide inputs on preview

Fixes T78725

Bug: T78725
Change-Id: I17736bb28806e615660a7a55f930a60b6030fed3
(cherry picked from commit 6e79811f3f6b34d002d43604f98b48f6f94c175f)