Issue Bug Closed

#102839EXT:form does not respect enabled property of page model in getNextPage

Stefan Froemken 01/15/24, 15:06 updated 05/05/26, 16:57

Description

Hello,

I have created 3 pages with EXT:form.
On page 1 there are 3 radio buttons to differ between some record types.
Record type “simple” just needs two pages. So I disabled page 3 by default in YAML.
The other record types need some more information, so a activated page 3 with help of variants option.

The problem is:
If I select record type “simple” the next button will be rendered instead of the submit button.

Problem seems to be in getNextPage method of FormRuntime object. Either getNextPage nor hasPageWithIndex tests against “enabled” property. So, here, page 3 is always available which should not be the case.

Stefan

Reviews 2

Files 1

History 25

  1. Josua Vogel commented and changed attached bugreport-disabled-page-navigation.form.yaml <span data-processor="relativetime" data-value="2026-03-06T12:19:24+00:00" > 03/06/26, 12:19 </span>

    attached a test form

  2. Garvin Hicking commented and changed status Under Review Closed <span data-processor="relativetime" data-value="2026-05-05T16:57:59+00:00" > 05/05/26, 16:57 </span>

    Related Patch was merged, accidental removal