dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
HTMLFormFieldWithButton: Allow passing 'inputtype' and pass through 'buttonid'
[lhc/web/wiklou.git]
/
includes
/
htmlform
/
fields
/
HTMLTextField.php
diff --git
a/includes/htmlform/fields/HTMLTextField.php
b/includes/htmlform/fields/HTMLTextField.php
index
60c63d6
..
56589b0
100644
(file)
--- a/
includes/htmlform/fields/HTMLTextField.php
+++ b/
includes/htmlform/fields/HTMLTextField.php
@@
-131,6
+131,9
@@
class HTMLTextField extends HTMLFormField {
case 'url':
$type = $this->mParams['type'];
break;
+ case 'textwithbutton':
+ $type = $this->mParams['inputtype'] ?? 'text';
+ break;
}
}