Input Control With 'disabled' Option Can't Post Data




<?= $form->field($salesOrder, 'SalesOrderNo')->textInput(

        [   

            'maxlength' => 100, 

//            'disabled' => 'disabled',

            'style' => 'cursor:text;'

        ]) ?>



i can’t get data “SalesOrderNo”

while add ‘disabled’ option in textInput

Yes, this is supposed behavior.

Disabled attributes are not submitted.

owh…i just know

thanks ORey