public function setEditableInputTypeSelect(array $options = [], array $attrs = [])
	{
		$select = Html::el('select');

		foreach ($options as $value => $text) {
			$select->create('option')
				->value($value)
				->setText($text);
		}

		$this->addAttributes(['data-datagrid-editable-element' => (string) $select]);

		return $this->setEditableInputType('select', $attrs);
	}
public function setEditableInputTypeSelect(array $options = [], array $attrs = [])
	{
		$select = Html::el('select');

		foreach ($options as $value => $text) {
			$select->create('option')
				->value($value)
				->setText($text);
		}

		$this->addAttributes(['data-datagrid-editable-element' => (string) $select]);

		return $this->setEditableInputType('select', $attrs);
	}
public function setEditableInputTypeSelect ( array $ options = [ ] , array $ attrs = [ ] ) { $ select = Html :: el ( 'select' ) ; foreach ( $ options as $ value => $ text ) { $ select -> create ( 'option' ) -> value ( $ value ) -> setText ( $ text ) ; } $ this -> addAttributes ( [ 'data-datagrid-editable-element' => ( string ) $ select ] ) ; return $ this -> setEditableInputType ( 'select' , $ attrs ) ; }
Change small inline edit input type to select
@param array  $options
@param array  $attrs
@return static
Change small inline edit input type to select