It’s also in the Russian constitution that Putin basically gets to be president for life. Guess that makes it okay…
A democratic institution making laws is very different than an undemocratic institution making laws.
Are you suggesting Ukraine wasn't democratic when that law was made?
And like stated somewhere else, UK did the same thing during WW2. So it's not that uncommon.
"Scholars have stated that the Ukrainian constitution does not allow to hold national elections while martial law is in effect."
https://en.wikipedia.org/wiki/Martial_law_in_Ukraine