Make sure you are entering your 1099-G in the correct place; there are multiple places to enter 1099-Gs. Where do I report a 1099-G for unemployment or paid family leave? You'll need to check the box to indicate you had tax withheld; see image below.
You may need to delete the entry you started in the Other 1099-G section.
How to delete forms in TurboTax Online
How to delete forms in TurboTax Desktop