Every repository with this icon (
Every repository with this icon (
| Description: | The Clientcide Javascript Libraries edit |
-
DatePicker does not work correctly with weekStartOffset > 0
1 comment Created 6 months ago by anutronComments
arcodesign
Mon Sep 14 10:22:40 -0700 2009
| link
The patch works great, but are there any plans to implement it in the main trunk?
-
DatePicker bugs with %d/%m/%y format (Year 09)
0 comments Created 6 months ago by anutron -
DatePicker's draggable option doesn't work as documented
0 comments Created 6 months ago by anutron -
Fupdate incorrectly handles multiple choices inputs
0 comments Created 6 months ago by anutron -
Async StickyWin.Ajax doesn't allow accessing result's dom
0 comments Created 6 months ago by anutron -
Element.get('inputValue') not returning a boolean on checkboxes
0 comments Created 6 months ago by anutron -
MultipleOpenAccordion refactor error w/possible fix
0 comments Created 6 months ago by anutron -
Remove event(s) doesn't work in Element.Delegation module
0 comments Created 6 months ago by anutron -
Datepicker and weekStartOffset: 1 And DateFormat '%d/%m/%Y' or '%d/%m/%y'
0 comments Created 6 months ago by anutron -
DatePicker - calendars don't pop up when showMoreThanOne=true
0 comments Created 6 months ago by anutron -
FormValidator.Tips not appearing in Firefox 3.0.10
1 comment Created 6 months ago by kaoz70I'm not sure if its a code problem, but after updating both Clientcide and Firefox to latest it does not appear. Ive checked the demo site and it works there.
Also if I switch tabs, and go back it then appears, which would seem a FF issue, but as I sayd before, the demo code works.
Test site: http://www.arrarray.com/contacto.html
Comments
-
http://skitch.com/peterpunk/bp7ty/clientcide-datepicker-issue-with-march-09
Happens with ff3 and not Ie.
sample code:
this.date = new DatePicker(this.input, { 'onHide': this.calendarHide.bind(this), 'format': "%m/%d/%Y" }); this.date = new DatePicker(this.input, { 'onHide': this.calendarHide.bind(this) });Comments
-
I noted something odd going on in the
validateFieldmethod in theFormValidator.Tipsclass.Test case: create a multi text field form. Introduce multiple validations on some of the fields, and have at least 2 that have no "required" validations. My example had the following 5 text field validations:
- required validate-integer
- required minLength:10
- validate-url
- validate-url
- validate-url
I used all the default options on the instantiations of
FormValidator.TipsandFupdate.Prompt, specifying the minimum necessary arguments.I noticed when I setup a
Fupdate.Promptwith this form (after initializing theFormValidator.Tips) that if I failed the first field (enter alpha chars) and the second field (enter too few chars) then corrected the first field I could post the form even though the second field still was invalid. Another behavior was that if I had a correct integer entry in field one, a too short entry in field 2, then clicked around in fields 3 through 5 I could make the error tip go away on field 2, and post.I found the following changes to
FormValidator.Tipsin thevalidateFieldmethod solved this behavior...but it is likely not the most elegant. It also removed a JS error I saw in console from themsgs.getChildren().hide()line in this same method.Here's my sloppy but working changes:
validateField: function(field, force){ var advice = this.getAdvice(field); var anyVis = this.advices.some(function(a){ return a.visible; }); if (anyVis && this.options.serial) { if (advice && advice.visible) { var passed = this.parent(field, force); if (!field.hasClass('validation-failed')) advice.hide(); } return passed; } var msgs = field.retrieve('validationMsgs'); if (msgs) { var msgChildren = msgs.getChildren(); msgChildren.each(function (item,index) { item.hide(); }); } if (field.hasClass('validation-failed') || field.hasClass('warning')) if (advice) advice.show(); var passed = this.parent(field, force); if (this.options.serial && !passed) { var fields = this.element.getElements('.validation-failed, .warning'); if (fields.length) { fields.each(function(f, i) { var adv = this.getAdvice(f); if (adv) adv.hide(); }, this); passed = this.parent(field, force); } } return passed; },Comments
-
Weird DatePicker behavior with some dates
0 comments Created about 1 month ago by lucascorbeauxHi there,
As mentionned here http://github.com/anutron/clientcide/issuesearch?state=open&q=datepicker#issue/15 and here http://github.com/anutron/clientcide/issuesearch?state=open&q=datepicker#issue/26 some dates break the DatePicker.
I'm sure that's an issue, as you can reproduce the bug in the tutorial/demo section here :
http://www.clientcide.com/wiki/cnet-libraries/09-forms/02-datepickerTry to type any november date prior to 2009, like 2007-11-07, and all calendar's cases will be filled by the same number (28 for this example). Works the same way on FF or IE.
As the previous issues were posted several months ago, is there a chance to get an answer, or even an hint to fix the problem ourselves ?
Comments











