Skip to content

When opening a TextField with TextInputType.visiblePassword, the password input-specific US keyboard does not appear #129113

@acn-genki-takeyoshi

Description

@acn-genki-takeyoshi

Is there an existing issue for this?

Steps to reproduce

  1. Use an iOS Device.
  2. Focus any TextField.
  3. Change the keyboard to Japanese Kana input.
  4. Tap the "完了" button on the keyboard to close it.
  5. Focus on a TextField that has TextInputType.visiblePassword set as the keyboardType and open the keyboard.
    reproduce

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.
expected

Actual results

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

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

Metadata

Metadata

Labels

P2Important issues not at the top of the work lista: internationalizationSupporting other languages or locales. (aka i18n)a: text inputEntering text in a text field or keyboard related problemsf: material designflutter/packages/flutter/material repository.found in release: 3.10Found to occur in 3.10found in release: 3.12Found to occur in 3.12frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions