mediawiki-extensions-Templa.../modules/ext.templateDataGenerator.editTemplatePage
thiemowmde 03feb0d2a7 Fix incomplete validation & enter key when adding new parameter
This fixes a whole sequence of issues:
* It was actually possible to add a parameter with no name.
* It was also possible to add parameters where the name is nothing
  but whitespace.
* Pressing enter was not possible.
* The button was initially enabled with the input field being empty.
* Validation code was duplicated, but incomplete, which made it
  possible to add duplicate parameters with enter.

Bug: T324381
Change-Id: I598997efc63256fd59a2b4f71fb7c3d99306bd85
2023-05-23 18:48:26 +02:00
..
widgets Move var declarations inline 2021-10-05 17:37:33 +01:00
.eslintrc.json Add an "Edit template data" button to the TemplateData output 2022-11-08 13:36:38 +00:00
Dialog.js Fix incomplete validation & enter key when adding new parameter 2023-05-23 18:48:26 +02:00
init.js Add an "Edit template data" button to the TemplateData output 2022-11-08 13:36:38 +00:00
Metrics.js Update TemplateDataEditor logging for IP masking 2023-04-18 19:30:54 +00:00
Target.js build: Update devDependencies 2022-03-13 17:17:03 +00:00
templateDataGenerator.placeholder.less stylelint: Enable selector-pseudo-element-colon-notation 2023-03-30 01:01:00 +02:00
templateDataGenerator.ui.less Fix font size of "Manage TemplateData" button in vector legacy + 2017WTE 2022-08-31 11:27:46 +01:00