uno-toolkit-input-extensions

Configure Uno Platform TextBox controls with AutoFocusNext, AutoDismiss, and ReturnType.

9|1|Updated Dec 10, 2024
One-click install
npx skills add https://github.com/unoplatform/studio --skill uno-toolkit-input-extensions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: uno-toolkit-input-extensions
Source: https://github.com/unoplatform/studio/tree/main/plugins/uno-platform-studio/skills/uno-toolkit-input-extensions
Command: npx skills add https://github.com/unoplatform/studio --skill uno-toolkit-input-extensions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Mobile forms often require managing focus and keyboard behavior to deliver a smooth user experience on mobile. InputExtensions provides auto-focus to the next field, auto-dismiss of the keyboard when completing the final input, and configurable return-key types to streamline data entry.

Core Features & Use Cases

  • AutoFocusNext: automatically moves focus to the next input when Enter is pressed.
  • AutoDismiss: hides the on-screen keyboard after the last field is submitted.
  • ReturnType: supports Next, Done, Search, and other platform-specific return keys for better UX.
  • Use Case: Implement a multi-step login or survey form where users can progress smoothly without tapping between fields.

Quick Start

Activate InputExtensions in your XAML by applying utu:InputExtensions to your TextBox controls, configure AutoFocusNext, AutoDismiss, and ReturnType, and test on target devices.

Frequently Asked Questions about uno-toolkit-input-extensions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I auto-focus the next input field in mobile forms?

Auto-focus for mobile forms moves focus to the next input automatically when Enter is pressed. You enable this by applying the utu:InputExtensions namespace to TextBox controls and setting the AutoFocusNext property in your XAML.

How do I dismiss the on-screen keyboard when a mobile form is completed?

To dismiss the on-screen keyboard after the last field is submitted, apply utu:InputExtensions to your final TextBox and enable the AutoDismiss property. This hides the keyboard automatically upon completion, streamlining data entry.

Does InputExtensions work with Uno Platform multi-field login flows?

Yes, InputExtensions is designed for Uno Platform multi-field login flows. By configuring AutoFocusNext, AutoDismiss, and ReturnType, users progress smoothly between fields without manual tapping, improving the overall mobile form experience.

What is the best way to manage focus progression across multiple mobile form fields?

Managing focus progression across multiple mobile form fields is best handled by combining AutoFocusNext and ReturnType properties. Applying utu:InputExtensions allows predictable field-by-field progression and automatic keyboard dismissal on the final entry.

Why does the on-screen keyboard stay visible after submitting the last form field?

The on-screen keyboard stays visible after the last field because AutoDismiss is not enabled. Apply utu:InputExtensions to your final TextBox and set AutoDismiss to true to automatically hide the keyboard upon submission.