YII2 Documentation

Hi all

I’m struggling to understand the docs and get the info I would like to use some of the classes correctly.

For example the Class yii\widgets\ActiveField has $inputOptions public property, which is an array, but its not evident to me what should go in this array, where is this information available?


As said in the description, these are options which are rendered to tag HTML options as is.

Thanks samdark, Sorry but I dont understand the significance of the statement ‘rendered to tag html options’. These are options for some widget to control its behaviour/appearance, but what are the options ? I dont get it

I’m not a web developer.



<div option1="value1" option2="value2"></div>