fix: limit template name length to 100 characters

This commit is contained in:
Freek van de Ven 2024-07-26 14:29:21 +02:00
parent c4ce837616
commit c7781c4db4

View file

@ -36,10 +36,12 @@ class TemplateNameInput extends StatelessWidget {
decoration: InputDecoration(
hintText: translations.templateTitleHintText,
hintStyle: theme.inputDecorationTheme.hintStyle,
counterText: "",
border: OutlineInputBorder(
borderRadius: BorderRadius.circular(10),
),
),
maxLength: 100,
initialValue: initialValue,
style: options.textStyles.inputFieldTextStyle,
onChanged: onNameChanged,