Uncaught TypeError: Cannot set property 'tabIndex' of null

Created on 17 November 2020, about 4 years ago
Updated 9 November 2023, about 1 year ago

Problem

The module is working but in the console is the following error message:

drupal.js?v=8.9.6:13 Uncaught TypeError: Cannot set property 'tabIndex' of null
    at Dropdown._makeDropdownFocusable (materialize.js:2527)
    at new Dropdown (materialize.js:2278)
    at Function.init (materialize.js:1045)
    at Function.init (materialize.js:2782)
    at Autocomplete._setupDropdown (materialize.js:6484)
    at new Autocomplete (materialize.js:6411)
    at Function.init (materialize.js:1049)
    at Function.init (materialize.js:6755)
    at S.fn.init.jQuery.fn.<computed> [as autocomplete] (materialize.js:1138)
    at Object.attach (autocomplete.js?v=8.9.6:121)

Steps to Reproduce

  1. Go to manage fields for a content type.
  2. Add a field of type Time Picker.
  3. Go the the add content form for that content type.
  4. Open the browser console.
  5. You should see the error.
🐛 Bug report
Status

RTBC

Version

5.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024