Why does this use the dative

I thought that this would be the nominative “meine” instead of “meiner”

I thought that this would be the nominative “meine” instead of “meiner”