##jQuery Input Mask auto complete
##Why?
When the user don't filling the input completely, it resets itself.
###What?
This snippet can solve this problem by filling the blank spaces with '0'.
| atom-beautify | |
| autocomplete-modules | |
| color-picker | |
| editorconfig | |
| file-icons | |
| git-blame | |
| git-plus | |
| goto-definition | |
| gulp-control | |
| highlight-selected |
| <snippet> | |
| <content><![CDATA[ | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <script id="setup-app-data"></script> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <html> | |
| <head> | |
| <title>Teste de email com gulp-inline-css</title> | |
| </head> | |
| <body> | |
| <table> | |
| <tr> | |
| <td> |
| var removeDb = function(databaseName) { | |
| var req = indexedDB.deleteDatabase(databaseName); | |
| req.onsuccess = function () { | |
| console.log("Deleted database successfully. Base" + databaseName); | |
| }; | |
| req.onerror = function () { | |
| console.log("Couldn't delete database. Base" + databaseName); | |
| }; |
| .custom-file-uploader { opacity: 0; } | |
| .custom-uploader-component { | |
| cursor: pointer; | |
| margin-top: -52px !important; | |
| padding-top: 10px; | |
| border-radius: 4px; | |
| /*border: 1px solid #ffffff;*/ | |
| border: 1px solid rgba(255, 255, 255, 0.3); | |
| height: 52px; |
| [type="radio"]:before { | |
| content: ' '; | |
| background: white; | |
| display: block; | |
| width: 14px; | |
| height: 14px; | |
| border: 1px solid red; | |
| border-radius: 50%; | |
| } |
| (function(moment, $) { | |
| $.validator.addMethod('datetime', function(value, element) { | |
| if (value === '__/__/__ __:__' || value === '') { | |
| return true; | |
| } | |
| return moment(value, 'DD/MM/YYYY HH:mm', true).isValid(); | |
| }, ''); | |
| $.validator.addMethod('date', function(value, element) { |
##jQuery Input Mask auto complete
##Why?
When the user don't filling the input completely, it resets itself.
###What?
This snippet can solve this problem by filling the blank spaces with '0'.