What he conveniently omitted to mention was that was actually passed earlier and extended in July 2923.
The full text of the link is here, and I have emboldened what I think are the relevant parts
On Sunday, Zelenskyy stated that he would step down if it would secure peace for Ukraine, adding that he would also resign if it guaranteed the country’s NATO membership. However, the Ukrainian parliament emphasized on Tuesday that Zelenskyy was elected in a legitimate vote and remains the country’s lawful president. The body further confirmed that national elections will not be held until martial law is lifted following the establishment of a “comprehensive, fair, and sustainable peace.”
Ukraine’s constitution prohibits the holding of elections during martial law, which was extended in July 2023, one year after Russia’s full-scale invasion. The resolution underlines that neither the Ukrainian people nor the Verkhovna Rada question Zelenskii’s legitimacy and states that, under the country’s constitution, he must remain in office until a new president is elected.
A clever move which only works, if people accept his word and don't bother to open the link and read the full text.