2
0
mirror of https://github.com/tenrok/maska.git synced 2026-05-18 12:39:40 +03:00
Commit Graph

37 Commits

Author SHA1 Message Date
Alexander Shabunevich 95384f90c6 Fix #115 2022-12-30 12:13:30 +03:00
Alexander Shabunevich 3b44a9b4a9 Update masked input on binded value change 2022-12-24 17:49:08 +03:00
Alexander Shabunevich dee541684b Add example with simple money format 2022-12-16 17:56:02 +03:00
Alexander Shabunevich 41fb72b87c Fix of the input event 2022-12-09 22:40:51 +03:00
Alexander Shabunevich 289fc8ff43 Optimize directive work 2022-12-09 13:32:46 +03:00
Alexander Shabunevich 21a088f7d2 Trigger InputEvent for support v-model update 2022-12-09 13:31:17 +03:00
Alexander Shabunevich 32bbbcf3da Parse input opts logic moved from MaskInput 2022-12-09 13:29:41 +03:00
Alexander Shabunevich 547f1711e8 Refactor Mask options
Allow to pass null mask for disable masking
2022-12-09 11:54:20 +03:00
Alexander Shabunevich 57f4f44959 Callback onMaska now can accept array
To make it possible use callback with binded value
2022-12-07 11:41:59 +03:00
Alexander Shabunevich 454dddd4dd Directive could be applied to parent of input element 2022-12-07 11:41:59 +03:00
Alexander Shabunevich bccd75ab09 Delete triple slash directive 2022-12-07 11:41:59 +03:00
Alexander Shabunevich 31c286bb6b New version code prepare 2022-12-04 17:05:23 +03:00
Yury Mamedov 0cf4d7c7b8 #51 Added test,
switched jest env to jsdom,
lint fixed
2021-11-10 01:28:55 +03:00
Yury Mamedov d3f1a7b582 #51 Added value preprocessor 2021-11-10 00:40:25 +03:00
Alexander Shabunevich 9676906225 #50 Fix unnecessary mask update on state change 2021-11-07 15:46:51 +03:00
Alexander Shabunevich abff14bea0 Fix events unsubscribe 2021-11-07 15:44:33 +03:00
Alexander Shabunevich b99aacf6e0 #41 Fix init value on Vue 3.x 2021-10-01 17:38:24 +03:00
Alexander Shabunevich 622316e5c3 Fix #38: work with vuetify 2021-07-22 23:01:55 +03:00
Alexander Shabunevich 0355016b35 Fix #31: mask value on v-model change 2021-07-09 12:13:02 +03:00
Alexander Shabunevich 1209e09dc6 Make tokens argument optional 2021-07-01 15:06:18 +03:00
Alexander Shabunevich d07191a458 #27 Fix escaped token at the end 2021-05-28 15:43:54 +03:00
Alexander Shabunevich b6266789e5 Fixed bug with dynamic mask boundaries 2021-02-23 13:59:32 +03:00
Alexander Shabunevich 99013bd69d Add mask raw value attribute and @mask event 2021-02-06 20:10:51 +03:00
Alexander Shabunevich ea6f31babd Better support for Vue 3.x 2020-10-15 13:13:33 +03:00
Sergey Luschik dd90143364 Added custom transform function support alongside uppercase and lowercase
Added tests to an upcoming functionality
Fixed several lint issues manually
Added "lint:fix" npm script
Made it available to use 'uppercase' or  'lowercase' alongside custom transform function & applied several tests editions
2020-10-09 01:46:28 +03:00
Alexander Shabunevich 26234704f0 Now the masked symbol is shown immediately 2020-09-28 13:02:45 +03:00
Alexander Shabunevich bb62516640 Fix cursor jumps when editing first symbol 2020-09-13 21:23:33 +03:00
Alexander Shabunevich 63aea135cd Some fixes for number input type 2020-02-09 22:53:55 +03:00
Alexander Shabunevich ae7e1b1d47 Prevent adding multiple event listeners 2020-02-02 16:29:18 +03:00
Alexander Shabunevich b88d4fab08 Fix bug with mask dataset checks 2020-02-01 17:31:11 +03:00
Alexander Shabunevich d3a7c0eee9 Added reactivity to vue mask 2020-02-01 17:00:03 +03:00
Alexander Shabunevich 558b1a60d2 Add dynamic mask 2019-12-07 21:44:32 +03:00
Alexander Shabunevich 748af7c332 Fix code that process rest of the mask 2019-12-05 19:33:06 +03:00
Alexander Shabunevich 9e9be04de7 Cleanup of mask.js code 2019-12-04 13:35:00 +03:00
Alexander Shabunevich 2f71d54a5a Spread tokens object in directive to remove observer 2019-10-15 19:09:16 +03:00
Alexander Shabunevich 9f4b9aecbd Better autofill handle on iOS 2019-09-27 22:15:22 +03:00
Alexander Shabunevich 0690000a62 Initial commit 2019-09-25 15:22:31 +03:00