@onehat/ui 0.3.355 → 0.3.357
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -438,7 +438,7 @@ export function ComboComponent(props) {
|
|
|
438
438
|
fn: (entity) => {
|
|
439
439
|
const
|
|
440
440
|
displayValue = entity.displayValue,
|
|
441
|
-
regex = new RegExp('^' + value);
|
|
441
|
+
regex = new RegExp('^' + value, 'i'); // case-insensitive
|
|
442
442
|
return displayValue.match(regex);
|
|
443
443
|
},
|
|
444
444
|
});
|
|
@@ -694,6 +694,9 @@ export function ComboComponent(props) {
|
|
|
694
694
|
'selectorSelected',
|
|
695
695
|
'usePermissions',
|
|
696
696
|
]);
|
|
697
|
+
if (!Repository) {
|
|
698
|
+
gridProps.data = filteredData;
|
|
699
|
+
}
|
|
697
700
|
const WhichGrid = isEditor ? WindowedGridEditor : Grid;
|
|
698
701
|
grid = <WhichGrid
|
|
699
702
|
showHeaders={false}
|
|
@@ -711,7 +714,6 @@ export function ComboComponent(props) {
|
|
|
711
714
|
}}
|
|
712
715
|
autoAdjustPageSizeToHeight={false}
|
|
713
716
|
{...gridProps}
|
|
714
|
-
data={filteredData}
|
|
715
717
|
reference="grid"
|
|
716
718
|
parent={self}
|
|
717
719
|
h={UiGlobals.mode === UI_MODE_WEB ? styles.FORM_COMBO_MENU_HEIGHT + 'px' : null}
|