deadsimple/hyva-input-mask 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

deadsimple/hyva-input-mask

最新稳定版本:1.0.1

Composer 安装命令:

composer require deadsimple/hyva-input-mask

包简介

A deadsimple wrapper to use the input mask plugin from AlpineJs directly in you Hyvä theme and forms

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

Deadsimple Hyva Input Mask Module using AlpineJs Plugin

This module is a simple wrapper to integrate the input mask plugin from AlpineJs directly into your Hyvä theme and forms. It allows you to easily apply input masks to form fields, enhancing user experience and data validation.

Installation

To install the module, follow these steps:

  1. Install the module using Composer:
composer require deadsimple/hyva-inputmask
  1. Enable the module:
bin/magento module:enable DeadSimple_HyvaInputMask
  1. Run the setup upgrade:
bin/magento setup:upgrade

Usage

To use the input mask plugin, you need to add the x-mask attribute to your input field. The value of the x-mask attribute should be a valid mask pattern. For example:

<input type="text" x-mask="999-999-9999" />

This will apply a phone number mask to the input field, allowing only digits and formatting them as 999-999-9999.

For more information on the available mask patterns and options, refer to the AlpineJs Mask Plugin Documentation.

License

This module is licensed under the MIT License. See the LICENSE file for more information.

统计信息

  • 总下载量: 276
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: HTML

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固