-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
flutter/engine
#50293Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: internationalizationSupporting other languages or locales. (aka i18n)Supporting other languages or locales. (aka i18n)a: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.found in release: 3.10Found to occur in 3.10Found to occur in 3.10found in release: 3.12Found to occur in 3.12Found to occur in 3.12frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Description
Is there an existing issue for this?
- I have searched the existing issues
- I have read the guide to filing a bug
Steps to reproduce
- Use an iOS Device.
- Focus any TextField.
- Change the keyboard to Japanese Kana input.
- Tap the "完了" button on the keyboard to close it.
- Focus on a TextField that has TextInputType.visiblePassword set as the keyboardType and open the keyboard.

Expected results
When opening a TextField with TextInputType.visiblePassword set as the keyboardType, the initial state of the keyboard should be the US keyboard layout for password input.

Actual results
Even when opening a TextField with TextInputType.visiblePassword set as the keyboardType, the keyboard layout remains as the Japanese Kana input keyboard.

Code sample
Code sample
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(title: const Text('JP Keyboard Sample')),
body: Padding(
padding: const EdgeInsets.all(24.0),
child: Column(
children: const [
TextField(
decoration: InputDecoration(hintText: 'No keyboardType'),
),
TextField(
decoration: InputDecoration(hintText: 'keyboardType is TextInputType.visiblePassword'),
keyboardType: TextInputType.visiblePassword,
),
],
),
),
),
);
}
}
Screenshots or Video
No response
Logs
Logs
See attached file [run.log](https://github.com/flutter/flutter/files/11787496/run.log)Flutter Doctor output
Doctor output
See attached file
doctor.txt
fumin65
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: internationalizationSupporting other languages or locales. (aka i18n)Supporting other languages or locales. (aka i18n)a: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.found in release: 3.10Found to occur in 3.10Found to occur in 3.10found in release: 3.12Found to occur in 3.12Found to occur in 3.12frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team