Skip to content

Commit

Permalink
Aggregations / Temporal range / Avoid browser autocomplete on calenda…
Browse files Browse the repository at this point in the history
…r field

When using temporal range for aggregations

```
 resourceTemporalDateRange: {
                gnBuildFilterForRange: {
                  field: "resourceTemporalDateRange",
                  buckets: 2024 - 1970,
                  dateFormat: "YYYY",
                  dateSelectMode: "years",
                  vegaDateFormat: "%Y",
                  from: 1970,
                  to: 2024,
                  mark: "area"
                },
                meta: {
                  vega: "timeline",
                  collapsed: true
                }
              },
```

browser autocomplete may overlap with calendar
  • Loading branch information
fxprunayre committed Sep 20, 2024
1 parent 1a780ac commit c0ed143
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
class="input-sm form-control"
data-ng-model="range.from"
data-ng-model-options="{debounce: 500}"
autocomplete="off"
name="start"
/>
<span class="input-group-addon">
Expand All @@ -22,6 +23,7 @@
class="input-sm form-control"
data-ng-model="range.to"
data-ng-model-options="{debounce: 500}"
autocomplete="off"
name="end"
/>
<span class="input-group-btn">
Expand Down

0 comments on commit c0ed143

Please sign in to comment.