Autocomplete not working without partital file configuration

Created on 31 October 2024, 2 months ago

Problem/Motivation

I recently updated my kit and settings, and now I no longer see any previews of the icons when typing in the Fontawesome field type (not the picker widget sub-module).

This is because if I do not have any "use_[xxx]_file" settings selected, they all return null in the autocomplete.

However, the field instructions say "By default, Font Awesome loads all of the icons." But that doesn't seem to be the case for the admin side.

With all of those boxes unchecked, this line always returns null/empty, so the $activeFiles array of arrays are all false/empty.

$activeFiles[$settingName] = is_null($configuration_settings->get($settingName)) === TRUE ? TRUE : $configuration_settings->get($settingName);

Once I select a file, the autocomplete starts working, but the icons themselves aren't visible anymore.

Proposed Resolution:
If no files are checked, then all files should be considered checked. Either that or update the help text because the current "loads all icons" is wrong.

πŸ› Bug report
Status

Active

Version

2.26

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States jennypanighetti

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

Comments & Activities

Production build 0.71.5 2024