mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Fix default value for <select /> standard custom fields
Summary: We aren't setting the value for select fields correctly, so when editing they always show the first value instead of the correct value. Test Plan: Set task from Apple -> Banana and Carrot -> Potato, saved, hit "Edit", saw Banana / Potato. Auditors: btrahan
This commit is contained in:
parent
424f7545fc
commit
43bf21daa5
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ final class PhabricatorStandardCustomFieldSelect
|
||||||
->setLabel($this->getFieldName())
|
->setLabel($this->getFieldName())
|
||||||
->setCaption($this->getCaption())
|
->setCaption($this->getCaption())
|
||||||
->setName($this->getFieldKey())
|
->setName($this->getFieldKey())
|
||||||
|
->setValue($this->getFieldValue())
|
||||||
->setOptions($this->getOptions());
|
->setOptions($this->getOptions());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue