Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

dex 1462 - Fix edit custom field form's required toggle #461

Merged
merged 1 commit into from
Sep 28, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pages/fieldManagement/settings/saveField/SaveField.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export default function SaveField() {
<Switch disabled={disableForm} name="required" />
}
label={<FormattedMessage id="REQUIRED" />}
value={get(formData, 'required', false)}
checked={get(formData, 'required', false)}
onChange={e =>
setFormData({
...formData,
Expand Down