protected function field($form, $model, $attribute, $button)
    {
        $field = $form->field($model, $attribute, $this->fieldOptions);
        $field = call_user_func_array([$field, $this->inputMethod], $this->inputMethodArgs);
        return str_replace('{button}', $button, $field);
    }