react-crud-mobile 1.3.177 → 1.3.179

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.
@@ -1017,12 +1017,11 @@ function UIList(props) {
1017
1017
  var list = Utils.nvl(scope.getItems(), []);
1018
1018
  if (original.search !== false && !((_original$list = original.list) != null && _original$list.url)) {
1019
1019
  var query = crud.get('query', '').toLowerCase().trim();
1020
- console.log(query);
1021
1020
  if (query.length > 1) {
1022
1021
  var filters = [];
1023
1022
  var filterBy = Utils.nvl(original.filterBy, 'label');
1024
1023
  Utils.each(list, function (o) {
1025
- var label = o[filterBy];
1024
+ var label = Utils.getValue(filterBy, 'none', o).toLowerCase();
1026
1025
  if (label) {
1027
1026
  if (label.includes(query)) {
1028
1027
  filters.push(o);
@@ -2337,6 +2336,7 @@ var styles$b = /*#__PURE__*/StyleSheet.create({
2337
2336
  label: {
2338
2337
  fontWeight: 400,
2339
2338
  fontSize: 12,
2339
+ paddingVertical: 3,
2340
2340
  color: 'labelColor'
2341
2341
  },
2342
2342
  inner: {