For frequencies comparable to the inverse of the electron transit time, the measured total current in electron devices needs to include not only the particle but also the displacement current. Typically, in most quantum transport simulators, the displacement current is ignored, or simply computed from Gauss' law involving only the longitudinal (zero rotational) electric field. In this work, the role of the transverse (zero divergence) electromagnetic field in the evaluation of the displacement current in resonant tunneling diodes is analyzed within either classical or quantum models of such fields. In the quantum case, the peaks of the original transmission coefficient, without interaction with photons, split into two new peaks due to the resonant electron-photon interaction leading to Rabi oscillations. Such phenomenon, that mimics known effects predicted by a Jaynes-Cummings model in closed systems, exemplifies how a full quantum treatment of electrons and electromagnetic fields opens unexplored paths for engineering new THz electron devices. The computational burden involved in the multi-time measurements of THz currents is minimized by invoking a Bohmian description of the lightmatter interaction. As an additional result, we show that the traditional transmission coefficient used to characterize DC quantum electron devices has to be substituted by a new displacement current coefficient in high frequency AC scenarios.