diff CHANGES.txt @ 8300:b99e76e76496

Make native date and number elements configurable Now for Number() and Integer() properties the browser-native number format can be configured with the use_browser_number_input config item in seciont [web]. The default is 'yes'. For Date() properties the config item is use_browser_date_input (also in section [web]) but the default is 'no'. In addition when defining Date() properties, these now have a parameter 'display_time' which defaults to 'yes' and a 'format' parameter which defaults to None. These set defaults for the field() method of the DateHTMLProperty which have the same parameters (but the display_time parameter of field() takes a boolean, not 'yes'/'no').
author Ralf Schlatterbeck <rsc@runtux.com>
date Wed, 19 Feb 2025 12:38:06 +0100
parents cfa7d43a3658
children 3ba8078843db
line wrap: on
line diff
--- a/CHANGES.txt	Wed Jan 22 10:10:39 2025 -0500
+++ b/CHANGES.txt	Wed Feb 19 12:38:06 2025 +0100
@@ -79,8 +79,10 @@
   input fields. Thinko in the code. (John Rouillard)
 - issue2551390 - Replace text input/calendar popup with native
   date input. Also add double-click and exit keyboard handlers to
-  allow copy/paste/editing the text version of the date.  (John
-  Rouillard)
+  allow copy/paste/editing the text version of the date. Configurable
+  via the use_browser_date_input setting in the [web] section of
+  config.ini. By default browser native dates are turned off.
+  (John Rouillard, Ralf Schlatterbeck)
 - issue1895197 - translated help texts in admin.py not displayed
   correctly. (Initial patch tobias-herp, John Rouillard)
 - issue2551238 - roundup-server should exit with error if -d
@@ -129,7 +131,9 @@
   allow reporting an error to the user from a template. (John
   Rouillard)
 - Use native number type input for Number() and Integer()
-  properties. Integer() uses step=1 as well. (John Rouillard)
+  properties. Integer() uses step=1 as well. Configurable via the
+  use_browser_number_input setting in the [web] section of config.ini
+  (John Rouillard, Ralf Schlatterbeck)
 - issue2551231 - template.py-HTMLClass::classhelp doesn't merge
   user defined classes. It now merges them in. (John Rouillard)
 

Roundup Issue Tracker: http://roundup-tracker.org/