yii2-wizard icon indicating copy to clipboard operation
yii2-wizard copied to clipboard

Yii2 Extension to handle multi-part form wizards

Results 14 yii2-wizard issues
Sort by recently updated
recently updated
newest added

I upgraded Yii2 to version 2.0.16-dev, and the events does not work. https://github.com/beastbytes/yii2-wizard/blob/master/WizardBehavior.php#L164 Problem: https://github.com/yiisoft/yii2/blob/master/framework/base/Component.php#L518

I use example, but return empty page ``` public function quizWizardStep($event) { $modelName = 'app\models\wizard\quiz\Question'; $model = new $modelName(['question' => $this->questions[$event->n]]); $t = count($this->questions); debug($model); if ($model->load(Yii::$app->request->post()) && $model->validate()) {...

When step model has conditional validation callback function (https://github.com/yiisoft/yii2/blob/master/docs/guide/input-validation.md#user-content-conditional-validation-) the wizard end() its work and redirect to invalidStep.

Author widget idiot. Your expansion, even from the example that is available in source code does not work ?? This example is written as a widget fuck.

# controller code ``` php $config = [ 'steps' => ['profile', 'region', 'photo'], 'events' => [ WizardBehavior::EVENT_WIZARD_STEP => [$this, $action->id.'WizardStep'], WizardBehavior::EVENT_AFTER_WIZARD => [$this, $action->id.'AfterWizard'], WizardBehavior::EVENT_INVALID_STEP => [$this, 'invalidStep'], ] ];...

I need to make a surveys which would be generated by for example SurveyQuestion model records wich are related to Survey model.

Hi, thanks for your extension, it's really nice. I have experienced some issues in the "saveStep" function and I thought I would share it with everyone. Basically I have noticed...

great job on this do you have a demo for this