fix(eventtypes): persist requiresCancellationReason selection (#29282)
Co-authored-by: Bandhan Majumder <[email protected]>
This commit is contained in:
1 parent
ff184db553
commit
d1ad4ea8b2
5 files changed
+34
-1
No files matched your search
@@ -669,6 +669,7 @@ export const EventAdvancedTab = ({
|
||||
{!isPlatform && (
|
||||
<Controller
|
||||
name="requiresCancellationReason"
|
||||
defaultValue={eventType.requiresCancellationReason ?? CancellationReasonRequirement.MANDATORY_HOST_ONLY}
|
||||
render={({ field: { value, onChange } }) => {
|
||||
const cancellationReasonOptions = [
|
||||
{ value: CancellationReasonRequirement.MANDATORY_BOTH, label: t("mandatory_for_both") },
|
||||
|
||||
Reference in new issue
Block a user