Problem while creating new extension fron existing js code

hi, i am in a try to create a yii2 extension of a javacript widget.I can render my extension in my viewpage but now problem is the data given as input is does not save in the data base.All other widgets are working fine except my own widget pleae help.

my code is given

7284

components.zip