mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
Merge pull request #1512 from richardshiue/fix-flowytextfield-bugs
fix: flowy text field bugs
This commit is contained in:
@ -152,7 +152,7 @@ class _TextFilterEditorState extends State<TextFilterEditor> {
|
||||
return FlowyTextField(
|
||||
text: state.filter.content,
|
||||
hintText: LocaleKeys.grid_settings_typeAValue.tr(),
|
||||
autoFucous: false,
|
||||
autoFocus: false,
|
||||
onSubmitted: (text) {
|
||||
context
|
||||
.read<TextFilterEditorBloc>()
|
||||
|
@ -123,8 +123,9 @@ class _OptionNameTextField extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return FlowyTextField(
|
||||
autoFucous: autoFocus,
|
||||
autoFocus: autoFocus,
|
||||
text: name,
|
||||
maxLength: 30,
|
||||
onSubmitted: (newName) {
|
||||
if (name != newName) {
|
||||
context
|
||||
|
Reference in New Issue
Block a user