kartik-v / yii2-widget-switchinput

A Yii2 wrapper widget for the Bootstrap Switch plugin to use checkboxes & radios as toggle switches (sub repo split from yii2-widgets)
Other
38 stars 11 forks source link

Class kartik\switchinput\SwitchInput not found #30

Open a-M-i-T opened 7 years ago

a-M-i-T commented 7 years ago

i am new to yii2, i have integrated this widget as instructed in doc but it i have this error "Class kartik\switchinput\SwitchInput not found". i am using yii2 advanced template and the extension is placed on root vendor folder. where do i fix the path for this extension? please help. Thanks!!!

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/47648099-class-kartik-switchinput-switchinput-not-found?utm_campaign=plugin&utm_content=tracker%2F8186004&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F8186004&utm_medium=issues&utm_source=github).
pievealessandro commented 7 years ago

Install composer require kartik-v/yii2-widgets "*"

sorinpohontu commented 4 years ago

use kartik\switchinput\SwitchInput;