[BUGFIX] Prevent reseting fields in create multiple pages wizard
The "create multiple pages" wizard features the possibility to dynamically add additional lines, which therefore allows to create more then five pages at once. However, since this action updates the html of the container, previously made inputs got removed whenever additional lines were added. This is now fixed by setting corresponding HTML attributes to store the inputs. Resolves: #99453 Releases: main, 11.5 Change-Id: I1beb0ba5d891e757da520ce72e02b575c4520c82 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77254 Reviewed-by:Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- Build/Sources/TypeScript/backend/new-multiple-pages.ts 34 additions, 0 deletionsBuild/Sources/TypeScript/backend/new-multiple-pages.ts
- typo3/sysext/backend/Resources/Private/Templates/Page/NewPages.html 2 additions, 2 deletions...xt/backend/Resources/Private/Templates/Page/NewPages.html
- typo3/sysext/backend/Resources/Public/JavaScript/new-multiple-pages.js 1 addition, 1 deletion...backend/Resources/Public/JavaScript/new-multiple-pages.js
Please register or sign in to comment