SelectWithInput: Add 'disabled' property on main widget
authorPrateek Saxena <prtksxna@gmail.com>
Wed, 25 Jul 2018 05:29:03 +0000 (10:59 +0530)
committerPrateek Saxena <prtksxna@gmail.com>
Wed, 25 Jul 2018 06:32:50 +0000 (12:02 +0530)
commit820a18762fa9999760b21bf6dcb67fb3c0af9f77
tree0f524101711fa6c8b7cbb59f4bf29b892390de9e
parent96ee0389259ea15590605c43a026c1be63e22fb9
SelectWithInput: Add 'disabled' property on main widget

…also HTMLSelectAndOtherField and HTMLSelectOrOtherField now
pass the 'disabled' field when creating the input widget.

The OOUI versions of these HTMLFormFields would get enabled
right after infusion even they were disabled in PHP. This
makes sure that they remain disabled.

Change-Id: Iddd8ad81731dba7bdcb599d6fe104cb259b11733
includes/htmlform/fields/HTMLSelectAndOtherField.php
includes/htmlform/fields/HTMLSelectOrOtherField.php
includes/widget/SelectWithInputWidget.php