mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-18 18:51:12 +01:00
Fix incorrect rendering of "Spaces" dropdown control when configuring EditEngine defaults
Summary: Ref T10004. This could sometimes pass `false`, which counts as disabled. Instead, pass `null` explicitly. Test Plan: Edited default space on an EditEngine form. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10004 Differential Revision: https://secure.phabricator.com/D14858
This commit is contained in:
parent
15550b5582
commit
bb8cf8eca8
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ final class AphrontFormPolicyControl extends AphrontFormControl {
|
|||
$viewer,
|
||||
$space_phid),
|
||||
array(
|
||||
'disabled' => $this->getDisabled(),
|
||||
'disabled' => ($this->getDisabled() ? 'disabled' : null),
|
||||
'name' => 'spacePHID',
|
||||
'class' => 'aphront-space-select-control-knob',
|
||||
));
|
||||
|
|
Loading…
Reference in a new issue