when use in ief - widget not load, because library attached to $complete_form, instead of $element. So in src\Element\SingleDateTime.php need to replace
$complete_form['#attached']['library'][] = 'single_datetime/datetimepicker';
with
$element['#attached']['library'][] = 'single_datetime/datetimepicker';

Comments

cosolom created an issue. See original summary.

valic’s picture

Which version of IEF are you using? Using in in combination with IEF 8.x-1.0-rc1, and date time picker is 8.x-16

valic’s picture

Status: Needs review » Postponed (maintainer needs more info)

  • valic committed be4b12c on 8.x-1.x authored by cosolom
    Issue #2982946 by cosolom: Use in Ininle Entity Forms
    
valic’s picture

Status: Postponed (maintainer needs more info) » Fixed
Issue tags: +8.x-1.7 release target

True, change is necessary. committed to dev.

valic’s picture

Status: Fixed » Closed (fixed)

Released in 1.7