Skip to content

Commit

Permalink
Fix more selection range invalid (#206)
Browse files Browse the repository at this point in the history
* perf: `Demo Theme`  修改 Demo 主题色。

* perf: remove async

* mod: change build_test flutter-version to 2.10.5

* fix: `BrnSelectionView` 更多筛选,range 类型不生效的问题
  • Loading branch information
violinday authored Apr 29, 2022
1 parent 66e9efe commit cf026e8
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 cf026e8

Please sign in to comment.