State tax filing

Hi - a follow up question to this.

I made money in Florida for the first 4 months of 2019 on W-2. Then I moved to Virginia and made money in Virginia for the next 8 months on W-2. I got both W-2s.

 

While filing joint taxes with the spouse who was full time resident of Virginia, Virginia is claiming the whole income. What would be the recommendation here.

 

Thank you