Top menu

How to use the “getDefaultOptions” to initialize a form field value

In this article I will show you how to create a form by setting a field on a passed value from controller using the getDefaultOptions function :

Now in the controller we can create the form with a default value for the option “userType” that allow us to define the value of the  :

 

 

,

No comments yet.

Leave a Reply