mirror of
https://github.com/Iconica-Development/flutter_availability.git
synced 2025-05-19 13:13:44 +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(
|
decoration: InputDecoration(
|
||||||
hintText: translations.templateTitleHintText,
|
hintText: translations.templateTitleHintText,
|
||||||
hintStyle: theme.inputDecorationTheme.hintStyle,
|
hintStyle: theme.inputDecorationTheme.hintStyle,
|
||||||
|
counterText: "",
|
||||||
border: OutlineInputBorder(
|
border: OutlineInputBorder(
|
||||||
borderRadius: BorderRadius.circular(10),
|
borderRadius: BorderRadius.circular(10),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
maxLength: 100,
|
||||||
initialValue: initialValue,
|
initialValue: initialValue,
|
||||||
style: options.textStyles.inputFieldTextStyle,
|
style: options.textStyles.inputFieldTextStyle,
|
||||||
onChanged: onNameChanged,
|
onChanged: onNameChanged,
|
||||||
|
|
Loading…
Reference in a new issue