NY W2 Box 16 same as Box 1 but I only spent 50% of the time in NY

Hello,

I have two W2, one of which is from NY State. It shows on my NY W2 that box 16 is equal to my total federal wages (box 1), even though I only spent half of the year in NY. Hence, roughly 50% of Box 1 was earned in NY.

I spoke to my employer, and they said it's a state requirement that as long as I ever worked in NY in the year, the total state wages for box 16 would show my federal total on box 1 - on the NY W2. In this case, in filling out my W2 info, do I supply what's printed on W2 (hence my total federal wages) despite only a fraction of it was actually earned in NY?