Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
205c669
Created new DateTimePicker component (empty)
rs-mgb Oct 3, 2024
b95e677
created obj to keep data of current state
rs-mgb Oct 4, 2024
219c09a
Added next char checker
rs-mgb Oct 4, 2024
261483d
Added maxlength attribute
rs-mgb Oct 7, 2024
da7393b
WIP Adding new logic
rs-mgb Oct 10, 2024
b439cb9
WIP Adding pattern logic
rs-mgb Oct 11, 2024
9b21f47
Formating logic expanded
rs-mgb Oct 11, 2024
8cfd869
improved formatter logic
rs-mgb Oct 15, 2024
c8c32a3
validation part I
rs-mgb Oct 15, 2024
bdd7be6
Added placeholder
rs-mgb Oct 15, 2024
c19e85e
Added day,month,year validation
rs-mgb Oct 17, 2024
787f444
fixing remove function
rs-mgb Oct 17, 2024
f7dc11e
implementing into validation.js
rs-mgb Oct 17, 2024
350fb86
WIP adding date-validation into Validation.js
rs-mgb Oct 21, 2024
ce98356
cleaned formValidation.html
rs-mgb Oct 22, 2024
4618b87
expanded Validation with date validation and formatter
rs-mgb Oct 22, 2024
447ffab
WIP fixed pattern logic
rs-mgb Oct 23, 2024
bfc8882
Added zero autocorrect to date input field
rs-mgb Oct 24, 2024
b27f037
Added zero autocorrect to component
rs-mgb Oct 24, 2024
07cb552
Improved Date format logic
rs-mgb Oct 24, 2024
a2be006
Improved validation Date format logic
rs-mgb Oct 24, 2024
7390045
fixed event listener
rs-mgb Oct 24, 2024
ece3668
Fixed addZero pattern logic
rs-mgb Oct 25, 2024
bc430fc
Improved addZero pattern logic and event listeners
rs-mgb Oct 25, 2024
4e14f8b
removed live input validation on dates
rs-mgb Oct 29, 2024
9e73336
Improved char remove logic on Validation.js
rs-mgb Oct 30, 2024
2396fa5
Improved char remove logic on Validation.js refactored
rs-mgb Oct 30, 2024
1a6b30c
removed dateTimePicker comp.
rs-mgb Oct 30, 2024
c706c4f
removed from index.html
rs-mgb Oct 30, 2024
5307d30
renaming and html update
rs-mgb Oct 30, 2024
fd1e503
WIP Solving removing scenario
rs-mgb Nov 4, 2024
4155cab
Improved removing logic from date input
rs-mgb Nov 5, 2024
c08d39d
Added live input date validation
rs-mgb Nov 8, 2024
e4de790
updated demo html
rs-mgb Nov 8, 2024
4571c50
WIP Refactoring
rs-mgb Nov 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,33 @@
"max-length": {"value": "10", "error-message": "Bitte maximum 10 Character eingeben."}
}' type="text" value="" name="Name" placeholder="Name hier eingeben..." autocomplete="off" />
</div>
<div>
<label for="birth">Birthday 1 + <strong>live-input-validation</strong></label>
<input id="birth" live-input-validation="true" m-date-input data-m-v-rules='{"required": {"error-message": "Bitte diese Feld ausfüllen."},
"day": {"max": "31", "min": "1", "error-message": "Please add a valid day, between 1 and 31."},
"month": {"max": "12", "min": "1", "error-message": "Please add a valid month, between 1 and 12."},
"year": {"max": "2010", "min": "1900", "error-message": "Please add a valid year, between 1900 and 2010."},
"pattern": {"mask-value": "dd.mm.yyyy", "error-message": "Please add a valid format as dd.mm.yyyy"}
}' type="text" value="" name="birth" placeholder="DD.MM.YYYY" autocomplete="off" />
</div>
<div>
<label for="birth2">Birthday 2</label>
<input id="birth2" m-date-input data-m-v-rules='{"required": {"error-message": "Bitte diese Feld ausfüllen."},
"day": {"max": "31", "min": "1", "error-message": "Please add a valid day, between 1 and 31."},
"month": {"max": "12", "min": "1", "error-message": "Please add a valid month, between 1 and 12."},
"year": {"max": "2000", "min": "1800", "error-message": "Please add a valid year, between 1800 and 2000."},
"pattern": {"mask-value": "dd/mm/yyyy", "error-message": "Please add a valid format as dd/mm/yyyy"}
}' type="text" value="" name="birth2" placeholder="DD/MM/YYYY" autocomplete="off" />
</div>
<div>
<label for="birth3">Birthday 3 + <strong>not required</strong></label>
<input id="birth3" m-date-input data-m-v-rules='{
"day": {"max": "31", "min": "1", "error-message": "Please add a valid day, between 1 and 31."},
"month": {"max": "12", "min": "1", "error-message": "Please add a valid month, between 1 and 12."},
"year": {"max": "2000", "min": "1800", "error-message": "Please add a valid year, between 1800 and 2000."},
"pattern": {"mask-value": "dd-mm-yyyy", "error-message": "Please add a valid format as dd-mm-yyyy"}
}' type="text" value="" name="birth3" placeholder="DD-MM-YYYY" autocomplete="off" />
</div>
<div>
<label for="Firstname">Vorname => required + min-length:3 </label>
<input id="Firstname" data-m-v-rules='{"required": {"error-message": "Bitte diese Feld ausfüllen."},
Expand Down
Loading