Skip to content

Commit

Permalink
Merge commit 'cf026e86b3c8246773212d3e52098a9feb61a3e4'
Browse files Browse the repository at this point in the history
* commit 'cf026e86b3c8246773212d3e52098a9feb61a3e4':
  Fix more selection range invalid (#206)
  • Loading branch information
violinday committed Apr 29, 2022
2 parents a8d77d6 + cf026e8 commit 727f68c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/components/selection/brn_more_selection.dart
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ class _BrnMoreSelectionPageState extends State<BrnMoreSelectionPage>
node.filterType == BrnSelectionFilterType.dateRange ||
node.filterType == BrnSelectionFilterType.dateRangeCalendar)) {
if (node.customMap != null &&
(BrunoTools.isEmpty(node.customMap!['min']) ||
BrunoTools.isEmpty(node.customMap!['max']))) {
!BrunoTools.isEmpty(node.customMap!['min']) &&
!BrunoTools.isEmpty(node.customMap!['max'])) {
if (!node.isValidRange()) {
isValid = false;
if (node.filterType == BrnSelectionFilterType.range) {
Expand Down

0 comments on commit 727f68c

Please sign in to comment.