|
| 1 | +TODO FEATURES: |
| 2 | + |
| 3 | +1.1.1 Bugs: |
| 4 | +* defaultValue is not set and should be, on initialization, so the reset button works properly; OK! |
| 5 | +* Next form element should be visible. (offsetWidth and height > 0); |
| 6 | +* âêô are not in the @ rule; OK! |
| 7 | +* set the size of the input, as an option. OK! |
| 8 | + |
| 9 | + |
| 10 | +* allow a default value to be at the input if you try to delete everything; OK! |
| 11 | +* a callback should be called when you input something that is incorrect, something is correct and the mask is full; OK! |
| 12 | +* make a function that will mask a string just like it does with the inputs; OK! |
| 13 | +* allow the setMask function to be used as setMask({mask:"3213",type:"reverse"}) and stuff. OK! |
| 14 | +* the value from the input will be masked at the time it's applied; OK! |
| 15 | +* allow negative numbers to be written on number masks. OK |
| 16 | +* iphone support -- OK, TESTAR NOVAMENTE |
| 17 | +* set the signal at the default value, not at a new option. Will be easier to setup and when you need a number with signal you'll always |
| 18 | +need a default value, althoug you could have '-' as the input value... it would look weird. OK |
| 19 | + |
| 20 | +* FIX: 'phone-us' mask is now '(999) 999-9999'; |
| 21 | +* CHANGE: change the 'infinite' mask name to 'repeat'; OK! |
| 22 | +* NEW: let 'repeat' have a maxLength; OK! |
| 23 | +* NEW: auto-tab focus form element from next form; OK! cool! |
| 24 | +* NEW: allow auto-tab, to focus the next form element when the input is completely filled; OK! |
| 25 | +* NEW: let the next input to be focused by auto-tab be selectable by a css selector; OK! |
| 26 | +* DEPRECATE: deprecated unmaskedVal. This function is too buggy... works for most cases but not all. The best way to do it is by doing it yourself. OK |
| 27 | +* FIX: fire the change event on reverse mask; OK |
| 28 | +* NEW: let masks have they're own fixedChars option, to give more flexibility; OK |
| 29 | +* fix usability bug that prevent correct character from being inputted; |
| 30 | + |
| 31 | + |
| 32 | +Changelog: |
| 33 | + |
| 34 | +<h3>Changelog</h3> |
| 35 | +v1.1 |
| 36 | +<ul> |
| 37 | + <li>Mask type 'infinite' is now called 'repeat' (using 'infinite' still works but it is deprecated). It now allows a maxLenght value to be set. MaxLength can be setted by the maxLength attribute or the maxLength option;</li> |
| 38 | + <li>You can easily set an auto-tab option that will focus the next form element when the masked input is totaly filled. It is true by default but you can put a jQuery selector string to match the next element you want to be focused.</li> |
| 39 | + <li>Deprecated 'unmaskVal' function. This function is too buggy... works for most cases but not all. The best way to unmask a value is by doing it yourself;</li> |
| 40 | + <li>'phone-us' mask is now '(999) 999-9999';</li> |
| 41 | + <li>Correctly fires the onChange event on reverse masked inputs.</li> |
| 42 | +</ul> |
| 43 | +v1.0.4 |
| 44 | +<ul> |
| 45 | + <li>New mask type 'infinite', it allows infinite values at masks. See demos for a better understanding;</li> |
| 46 | + <li>Added new function 'unmaskVal' that returns the input value without the mask. See demos for a better understanding;</li> |
| 47 | + <li>Removed a serious bug at IE that was fixing the caret at the end of the input;</li> |
| 48 | +</ul> |
| 49 | +V1.0.3 |
| 50 | +<ul> |
| 51 | + <li>Callback functions now receive the char number as it second parameter, so it is possible to detect exactly which key has been pressed;</li> |
| 52 | + <li>added the signed masks. It only works with the reverse mask. See demos for more details;</li> |
| 53 | + <li>iPhone support improved. iPhone now works 100% better than the 1.0.2 version. I'ts logic have been changed, and now it's working with full features. :P</li> |
| 54 | +</ul> |
| 55 | +v1.0.2 |
| 56 | +<ul> |
| 57 | + <li>added input callbacks: onInvalid, onValid and onOverflow;</li> |
| 58 | + <li>added support for default values;</li> |
| 59 | + <li>can now be used like $().setMask({});</li> |
| 60 | + <li>added the function $.mask.string(string,mask) that will mask a string (see demos);</li> |
| 61 | + <li>now the value of the input is masked at the time the mask is applyed to it.</li> |
| 62 | +</ul> |
| 63 | +v1.0.1 |
| 64 | +<ul> |
| 65 | + <li>added support for iphone;</li> |
| 66 | + <li>removed a bug where a fixed char would be replaced by an inputed one.</li> |
| 67 | +</ul> |
| 68 | +v1.0 |
| 69 | +<ul> |
| 70 | + <li>initial release.</li> |
| 71 | +</ul> |
| 72 | + |
| 73 | +http://www.meiocodigo.com/2008/09/29/meiomask-jquery-form-mask-input-plugin/,http://www.meiocodigo.com/2008/09/29/meiomask-101-version-released/,http://www.meiocodigo.com/2008/09/20/meiomask-a-jquery-plugin-for-masking-inputs/ |
0 commit comments