30 'list' => $this->mName .
'-datalist',
31 ] + parent::getAttributes( $list );
38 return parent::getInputHTML( $value ) .
39 Html::rawElement(
'datalist',
40 [
'id' => $this->mName .
'-datalist' ],
41 XmlSelect::formatOptions( $this->
getOptions() )
48 $allowedParams = [
'tabindex' ];
49 $attribs = \OOUI\Element::configFromHtmlAttributes(
53 if ( $this->mClass !==
'' ) {
57 if ( !empty( $this->mParams[
'disabled'] ) ) {
61 if ( $this->mPlaceholder !==
'' ) {
65 return new \OOUI\ComboBoxInputWidget( [
66 'name' => $this->mName,
69 'value' => strval( $value ),
70 'disabled' => $disabled,
81class_alias( HTMLComboboxField::class,
'HTMLComboboxField' );