I have tried 6.x-1.2, 6.x-2.0, and 6.x-3.x-dev, and I'm pretty sure this issue is consistent with all of them. That being said I'm currently looking at the 2.0 code so use that for reference.

The problem is that date field popups don't work.

The cause is two-fold.

First, on line 32 of editablefields.js, we've got the following:
$('input', context).not(':hidden').focus();
Unfortunately the date popup js requires the user to click on the textfield for the popup to appear. By focusing on the textfield in js, it's preventing the user from opening the date popup.
I've solved this in my own installation with the following:
$('input', context).not(':hidden').not('.container-inline-date input').focus();
..though I'm sure there is a more elegant way of handling this.

The second and probably larger issue is on line 74 (and possibly 178 as well). Whenever an input loses focus (blur) the editablefields.onblur function is called, which in turn calls editablefields.view, which replaces the form with the rendered field. This basically means that whenever you click on something outside the input field, like the date popup (month or year select lists) the input loses focus, and disappears. You're left looking at the date popup, but nothing for it to insert the date into.

I don't have an easy solution for the second issue, and I'm wondering if anyone has run into this problem before?

Comments

theshanergy’s picture

Status: Active » Closed (duplicate)