Schauder's lemma asserts that you can always extend a uniformly continuous, uniformly open map from a dense subset of a complete metric space to a uniformly open map on the completion.
I think the converse should be false: is there an example of a uniformly continuous uniformly open map from a complete metric space $f\colon X\to Y$ whose restriction $f|_D\colon D\to f(D)$ to some dense set $D\subseteq X$ fails to be uniformly open?
Edit in regard to ${\rm id}_{\mathbb R}|_{\mathbb Q}$. Suppose that $f\colon X\to Y$ is an injective uniformly open map. Then for each $\varepsilon > 0$ there is $\delta > 0$ such that for all $x$ we have $f(B(x,\varepsilon))\supseteq B(f(x), \delta)$. Let $D$ be a dense subset of $X$. Then for $x\in D$ we have $$f(B_D(x,\varepsilon)) = f(B(x,\varepsilon)\cap D) = f(B(x,\varepsilon))\cap f(D)\supseteq B(f(x), \delta) \cap f(D) = B_{f(D)}(f(x), \delta).$$ Here we used injectivity to make the image and intersection commute.