This is exactly my case, my husband and I are both British and I gave birth to child in Spain, she can get dual nationality but has to apply, doesn't come automatically. Also if the child is under 18, then one of the parents also has to change as one can't have a child of different nationality to the parents.