mirror of
https://github.com/Iconica-Development/flutter_availability.git
synced 2025-05-18 20:53:45 +02:00
fix: limit template name length to 100 characters
This commit is contained in:
parent
c6df93e40b
commit
3ae1ad417e
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue