TurboTax is asking only for years "prior to 2022" for Roth cost basis. IRS Form 8606 instructions says to input cost basis from years 1998 thru 2022 for cost basis.
On IRS Form 8606 instructions, it says to input cost basis from years 1998 thru 2022 when calculating cost basis.