Let $g: \Omega \times \mathbb{R} \to \mathbb{R}$ be a function which is linear in the second argument. Does it always follow that $g(x,u) = f(x)u$ for some $f:\Omega \to \mathbb{R}$?

$\Omega$ here is a bounded domain.