@@ -141,9 +141,9 @@ const validationList = [
141141 },
142142 {
143143 validator : (inputedText , valueObject , valueText )=> {
144- // you can use raw inputed text or formatted text in expected value in argumants
144+ // you can use raw inputted text or formatted text in expected value in arguments
145145 // you have access to both jalali and gregorian date object here
146- // rememmber valueObject and valueText are both empty and null when date is incomplete
146+ // remember valueObject and valueText are both empty and null when date is incomplete
147147 return valueObject .jalali .day == 15 ;
148148 },
149149 message: ' باید تاریخ حتما 15 ماه انتخاب شود'
@@ -168,7 +168,7 @@ const validationObj = dom.triggerInputValidation(showError)
168168// when default property are defined best time for impl your config like min and max date
169169document .querySelector (' jb-date-input' ).addEventListener (' init' ,this .onCalendarElementInitiated );
170170
171- // when calendar init all property and function and dom created and bind successully
171+ // when calendar init all property and function and dom created and bind successfully
172172document .querySelector (' jb-date-input' ).addEventListener (' load' ,this .onCalendarElementLoaded );
173173document .querySelector (' jb-date-input' ).addEventListener (' change' ,(e )=> {
174174 // value in string
@@ -285,7 +285,7 @@ body{
285285
286286| css variable name | description |
287287| ------------- | ------------- |
288- | --jb-date-input-margin | web-component margin default is ` 0 0 ` |
288+ | --jb-date-input-margin | web-component margin default is ` 0 0 ` |
289289| --jb-date-input-border-radius | web-component border-radius default is ` 16px ` |
290290| --jb-date-input-border-color | border color of select in normal mode |
291291| --jb-date-input-border-color-focus | border color when user focus on input |
0 commit comments