It would be better if they said the maximum voltage swing was +12V supply and not use the word ideal. Because an ideal opamp does not exist. To the extent that if one did exist it wouldn't be very long before it destroyed the planet and possibly the universe. And I am not joking.
To answer your question you need to calculate the gain of the opamp and use this to work out the maximum input voltage. The gain is one of the resistors divided by the other, see if you can work this out.
Adam