change max lenght in modals

This commit is contained in:
Дмитрий Шиманский
2023-11-17 00:23:31 +03:00
parent 1b9ffa1ec8
commit ff8136407c

View File

@@ -16,11 +16,11 @@ namespace DiscordApp.Justice.Modals
public string description { get; set; }
[InputLabel("Х координата")]
[ModalTextInput("xCoordinate", TextInputStyle.Short, placeholder: "70", maxLength: 4)]
[ModalTextInput("xCoordinate", TextInputStyle.Short, placeholder: "70", maxLength: 10)]
public int xCoordinate { get; set; }
[InputLabel("Y координата")]
[ModalTextInput("yCoordinate", TextInputStyle.Short, placeholder: "90", maxLength: 4)]
[ModalTextInput("yCoordinate", TextInputStyle.Short, placeholder: "90", maxLength: 10)]
public int yCoordinate { get; set; }
}