Let $V$ be a $\mathbb{F}_p$-vector space of dimension $d$. Set $W=\bigoplus_{1\leq i\leq n} V$ and let $$S=\{w_i=(v_{i1},\dots,v_{in}): 1\leq i\leq nd\},$$ be a basis for $W$. I am wondering if the following statement holds: $S$ can be partitioned into $n$ sets, $B_1,\dots, B_n$, each of size $d$, such that for any $1\leq \ell\leq n$ the following set $$ \{\pi_\ell(w): w\in B_\ell\} $$ is a basis for $V$, where $\pi_{\ell}(x_1,\dots,x_n)=x_\ell$.
I don't know if the statement holds but I couldn't find a simple counterexample.