Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.

Set keyboardType for email&phone input fields#79

Merged
hamorillo merged 1 commit intotrunkfrom
adam/keyboard_type
Jul 28, 2025
Merged

Set keyboardType for email&phone input fields#79
hamorillo merged 1 commit intotrunkfrom
adam/keyboard_type

Conversation

@AdamGrzybkowski
Copy link
Contributor

@AdamGrzybkowski AdamGrzybkowski commented Jul 24, 2025

Description

This will open the soft keyboard in a mode that suits the given input field.

Example for the KeyboardType.Phone

phone_type

Testing Steps

  1. Open the share tab, tap on the private input fields.
  2. Confirm the keyboard shows in an email or phone mode.

@AdamGrzybkowski AdamGrzybkowski added the enhancement New feature or request label Jul 24, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves the user experience for email and phone input fields by setting appropriate keyboard types that display specialized soft keyboards on mobile devices.

  • Adds KeyboardType.Email and KeyboardType.Phone to respective input fields
  • Updates ShareEditableField component to accept and handle keyboardType parameter

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
SharePrivateContactInfo.kt Passes specific keyboard types (Email/Phone) to the email and phone input fields
ShareEditableField.kt Adds keyboardType parameter and applies it to BasicTextField via KeyboardOptions

@hamorillo hamorillo force-pushed the adam/keyboard_type branch from fb2c104 to a94e896 Compare July 28, 2025 11:07
Copy link

@hamorillo hamorillo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@hamorillo hamorillo merged commit 05ac35d into trunk Jul 28, 2025
10 of 11 checks passed
@hamorillo hamorillo deleted the adam/keyboard_type branch July 28, 2025 11:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants