- Issue created by @NotifyOne
- Status changed to Needs work
about 1 year ago 1:15pm 8 June 2023 - last update
about 1 year ago Composer require failure - @notifyone opened merge request.
- Status changed to Needs review
about 1 year ago 1:24pm 8 June 2023 - Issue was unassigned.
- Status changed to RTBC
about 1 year ago 1:21pm 15 June 2023 - 🇮🇳India Shyam_Bhatt Gujarat
I have checked the "MR !11" working fine with the field type "managed_file".
Please check the below steps:
- Install and enable the Menu Link Attributes module.
- Go to the configuration page "/admin/config/menu_link_attributes/config".
- Add the "managed_file" field as per the below code:
icon-attr: label: 'icon label' type: managed_file upload_location: 'public://module-images/menu-link-images/' file_validate_extensions: 'gif png'
The "file_validate_extensions" key was added to the patch. so we can restrict the file with different extensions.
Please check the after image.It will not allow a jpg file.
It will allow only png and gif files.