-
Notifications
You must be signed in to change notification settings - Fork 102
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
New feature: input mask for input fields #267
Comments
Hi Stephan, am I overseeing this feature in 0.9.1? I can not find it. :( I am really using 0.9.1. No snapshot, nothing. |
No, it's simply not there yet. But you're free to contribute it :). The idea being that the input mask should be added to b:inputText and b:inputTextArea (as opposed to creating a new component). I believe our inputText is flexible enough to support input masks. |
Oh dear. I looked really forward to see that! Yeah, can you give me some time? :) I am really running out of it. I got confused by |
There's no hurry. Originally, we wanted to release BootsFaces 1.0 before the JavaOne conference, but we've decided to delay it. |
Though Robin Herbots plugin looks good, it is quite large and probably only a little part of it is needed. How about https://github.com/estelle/input-masking ? Looks good enough to me. |
Good hint. At first glance, I don't see any reason not to use Estelle's library. |
I've been playing with Estelle's library for a while, and it does not feel solid. I've seen some glitches in updating the placeholder.
Let me have a look what the minimal set of js files from Robin's library will weigh. |
The JS file was about 75kB. See PR #791 I did not add it to the |
@jepsar The feature works on my local machine, but not on our showcase (http://www3.bootsfaces.net/Showcase/forms/inputText.jsf). The only difference I've spotted so far is that the JavaScript code is not included with the minified code generated by the Otherwise, thanks for the good work! I think we're almost there! |
@stephanrauh I'll have a look tonight. The embedded JavaScript is also not rendered. I simply build using the |
@stephanrauh As expected, I missed a dependency in See PR TheCoder4eu/BootsFacesWeb#47 |
@stephanrauh the PR is merged. |
The example is working in the devel showcase. |
This could be realized by a jQuery plugin, such as https://github.com/RobinHerbots/jquery.inputmask.
The text was updated successfully, but these errors were encountered: