File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 15
15
- This is useful to quickly create filters at the top of a dashboard or report page, that will be automatically applied when the user changes them.
16
16
- New ` options_source ` parameter in the form component. This allows to dynamically load options for dropdowns from a different SQL file.
17
17
- This allows easily implementing autocomplete for form fields with a large number of possible options.
18
+ - In the map component, add support for map pins with a description but no title.
18
19
19
20
## 0.32.1 (2025-01-03)
20
21
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ function sqlpage_map() {
157
157
: createGeoJSONMarker ( marker_elem , options ) ;
158
158
marker . addTo ( map ) ;
159
159
map . _sqlpage_markers . push ( marker ) ;
160
- if ( options . title ) marker . bindPopup ( marker_elem ) ;
160
+ if ( marker_elem . textContent . trim ( ) ) marker . bindPopup ( marker_elem ) ;
161
161
else if ( marker_elem . dataset . link ) {
162
162
marker . on ( "click" , ( ) => {
163
163
window . location . href = marker_elem . dataset . link ;
Original file line number Diff line number Diff line change 42
42
{{ title }}
43
43
{{ ~/if ~}}
44
44
</h3 >
45
- <div >
45
+ <div class = " description " >
46
46
{{ ~#if description }} <p >{{ description }} </p >{{ /if ~}}
47
47
{{ ~#if description_md ~}}
48
48
{{{ markdown description_md }}}
You can’t perform that action at this time.
0 commit comments