In [1, 5.2 Example 4] there is an example for a function in \(W^{1,p}(B_1(0))\) which is unbounded on every open subset.

References Link to heading

  1. L. Evans, Partial differential equations. Providence (R. I.): American mathematical society, 1998.