Hybrid View

Answered: Set value to text or number fields

Hello,

-Controller
MyController.js
- View
MyPanel

I have created MyPanel.js in the view folder with some text and number fields and one button. In MyController.js I want to set different value to the fields in MyPanel every time someone push the button. Can you please tell me how I cant set values or disabe/enable the fields from the controller?