2 مستودعات
Real-time conversion of raw user input into a formatted string based on a defined mask.
Distinct from Value Transformations: None of the candidates cover the specific process of masking raw input strings into formatted values during typing.
Explore 2 awesome GitHub repositories matching user interface & experience · Input Value Transformations. Refine with filters or upvote what's useful.
text-mask is a JavaScript library for enforcing consistent text formats and dynamic masking patterns in web input fields. It provides a suite of utilities to constrain text field entries to predefined masks and validators, ensuring data consistency across multiple frontend frameworks including React, Angular, and Vue. The library supports dynamic pattern generation using functions to handle variable data formats and localized patterns. It includes capabilities for processing bulk text entries, such as pasted content and browser auto-fill data, while maintaining the integrity of the defined in
Converts raw input strings into formatted masked values by tracking cursor position and character indices.
imaskjs هي مكتبة قناع إدخال JavaScript ومدير إدخال DOM تستخدم لفرض أنماط، وأنواع بيانات، ونطاقات محددة على إدخال المستخدم في الوقت الفعلي. تعمل كمكتبة تنسيق بيانات وأداة تحقق من الإدخال تحول قيم الإدخال الخام إلى سلاسل منسقة باستخدام أقنعة وأنابيب مخصصة. توفر المكتبة إمكانيات قناع ديناميكية، مما يسمح لأنماط الإدخال بالتغير أو التبديل في الوقت الفعلي بناءً على الأحرف التي يكتبها المستخدم. تدعم قيود إدخال معقدة بما في ذلك التعبيرات النمطية، والنطاقات الرقمية، والتحقق القائم على التاريخ، وتعداد الأحرف. تغطي المكتبة مجموعة واسعة من مهام معالجة الإدخال وإدارة البيانات، بما في ذلك تحويلات ما قبل وما بعد المعالجة، واستخراج القيمة الخام لتقديم API، وتطبيق الأقنعة على كل من حقول إدخال HTML القياسية وعناصر contenteditable.
Processes raw user input through a sequence of callbacks to format data in real time.