mediawiki-extensions-Templa.../modules
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
..
ext.templateData Add an "Edit template data" button to the TemplateData output 2022-11-08 13:36:38 +00:00
ext.templateData.images Organise resource files in directories after their module bundles 2020-03-15 15:21:39 +00:00
ext.templateDataGenerator.data Use type info instead of repeating individual field names 2022-12-31 10:45:48 +01:00
ext.templateDataGenerator.editPage Organise resource files in directories after their module bundles 2020-03-15 15:21:39 +00:00
ext.templateDataGenerator.editTemplatePage Fix incomplete validation & enter key when adding new parameter 2023-05-23 18:48:26 +02:00
.eslintrc.json build: Update devDependencies 2022-03-13 17:17:03 +00:00