Skip to content

Commit

Permalink
add limit to new ticket text inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
bloodcloak committed Jun 2, 2024
1 parent 6c64c43 commit f925e84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions events/buttonInteraction.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ module.exports = {
.setPlaceholder(question.question)
.setLabel(question.question)
.setStyle(TextInputStyle[question.type === true ? "Short" : "Paragraph"])
.setMaxLength(1000)
.setRequired(true);

row.addComponents(input);
Expand Down

0 comments on commit f925e84

Please sign in to comment.