X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=includes%2Fhtmlform%2Ffields%2FHTMLComboboxField.php;h=3f63c18eed9d3b00ced55ed63f822e794cc02c41;hb=462bce95a9e824923f8b44dcf1ab405a6497d088;hp=0c3bc5a913d56087d9a6ee65e03a5f522b699734;hpb=0c9f05bff8529a9a4f5e12140bee959edafa38c9;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/htmlform/fields/HTMLComboboxField.php b/includes/htmlform/fields/HTMLComboboxField.php index 0c3bc5a913..3f63c18eed 100644 --- a/includes/htmlform/fields/HTMLComboboxField.php +++ b/includes/htmlform/fields/HTMLComboboxField.php @@ -25,7 +25,7 @@ class HTMLComboboxField extends HTMLTextField { return $attribs; } - function getInputHTML( $value ) { + public function getInputHTML( $value ) { $datalist = new XmlSelect( false, $this->mName . '-datalist' ); $datalist->setTagName( 'datalist' ); $datalist->addOptions( $this->getOptions() ); @@ -33,7 +33,7 @@ class HTMLComboboxField extends HTMLTextField { return parent::getInputHTML( $value ) . $datalist->getHTML(); } - function getInputOOUI( $value ) { + public function getInputOOUI( $value ) { $disabled = false; $allowedParams = [ 'tabindex' ]; $attribs = OOUI\Element::configFromHtmlAttributes(