In Settings > Cellular, turn on the eSIM line, select it as the cellular data line, and enable data roaming for the eSIM line.
iPhone and iPad Setup
In Settings > Cellular, turn on the eSIM line, select it as the cellular data line, and enable data roaming for the eSIM line.