Skip to content

Commit

Permalink
make description in punish modal paragraph type
Browse files Browse the repository at this point in the history
  • Loading branch information
zaanposni committed Oct 3, 2023
1 parent 554eca6 commit 5aa4eb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/MASZ/Models/PunishModal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static Modal Create(PunishmentType punishmentType, string title, ulong us

modalBuilder.AddTextInput("Reason", PunishModalKey.Reason, placeholder: "Reason", maxLength: 250);
if (showDuration) modalBuilder.AddTextInput("Duration", PunishModalKey.Duration, placeholder: "Duration", value: "2w", required: false);
modalBuilder.AddTextInput("Description", PunishModalKey.Description, placeholder: "No description provided", required: false, maxLength: 1000);
modalBuilder.AddTextInput("Description", PunishModalKey.Description, style: TextInputStyle.Paragraph, placeholder: "No description provided", required: false, maxLength: 1000);
modalBuilder.AddTextInput("Send DM Notification", PunishModalKey.DmNotification, value: "true", required: false);
modalBuilder.AddTextInput("Send Public Notification", PunishModalKey.PublicNotification, value: "false", required: false);

Expand Down

0 comments on commit 5aa4eb4

Please sign in to comment.