diff --git a/modules/issue_tracker/jsx/IssueCard.js b/modules/issue_tracker/jsx/IssueCard.js index 187db3498c2..4b7266af3f2 100644 --- a/modules/issue_tracker/jsx/IssueCard.js +++ b/modules/issue_tracker/jsx/IssueCard.js @@ -29,7 +29,7 @@ const IssueCard = React.memo(function IssueCard({ const handleInputChange = (field, value) => { setTempEditedIssue((prev) => ({ ...prev, - [field]: value, + [field]: value === '' ? null : value, })); }; @@ -376,9 +376,8 @@ const IssueCard = React.memo(function IssueCard({ onChange={(e) => handleInputChange('centerID', e.target.value) } - required > - + {Object.entries(sites).map(([id, name]) => (