samedi 9 février 2019

How disable Form::select by condition in template?

How disable Form::select by condition in template?

<?=Form::select('bank', $banks, $bank_id, array('class' => "form-control", "disabled" => $disabled)); ?>

Where $disabled is boolean variable, in any case it disables list.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire