Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: input masking with AlpineJS mask plugin #397

Open
Visnicio opened this issue Nov 5, 2024 · 3 comments
Open

Suggestion: input masking with AlpineJS mask plugin #397

Visnicio opened this issue Nov 5, 2024 · 3 comments
Labels
feature New feature or request
Milestone

Comments

@Visnicio
Copy link

Visnicio commented Nov 5, 2024

Bladewind could have a mask attribute for inputs that if the user would want to use, he would need to add the AlpineJS mask plugin to the project, just like the date picker uses Alpine for its usability

@mkocansey
Copy link
Owner

mkocansey commented Nov 6, 2024

Hi @Visnicio will what you are suggesting be different from <x-bladewind::input type="password" viewable="true" />? This lets you create a maskable field with the option to view what has been masked by clicking an eye icon.

@Visnicio
Copy link
Author

Visnicio commented Nov 6, 2024

I was thinking in something more like a date input, or telephone input, where you would use liek this
<x-bladewind::input label="Telephone" mask="(99) 9999-9999">

@mkocansey
Copy link
Owner

mkocansey commented Nov 6, 2024

Oh right. I get you now. I will look into Alpine's mask plugin and see how easy that will be to integrate.

@mkocansey mkocansey added the feature New feature or request label Nov 14, 2024
@mkocansey mkocansey added this to the v3.0.0 milestone Nov 14, 2024
@mkocansey mkocansey moved this to Backlog in BladewindUI Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

2 participants