Fixed an issue where the Select All option on the columns tab of import/export data was not working in languages other than English. #9233

pull/9308/head
Pravesh Sharma 2025-10-31 16:25:51 +05:30 committed by GitHub
parent d9b3f950ad
commit 48b4a8d448
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -979,7 +979,7 @@ export function InputSelect({ref, cid, helpid, onChange, options, readonly = fal
const onChangeOption = useCallback((selectVal) => {
if (_.isArray(selectVal)) {
// Check if select all option is selected
if (!_.isUndefined(selectVal.find(x => x.label === '<Select All>'))) {
if (!_.isUndefined(selectVal.find(x => x.label === gettext('<Select All>')))) {
selectVal = filteredOptions;
}
/* If multi select options need to be in some format by UI, use formatter */