diff CHANGES.txt @ 8286:6445e63bb423

feat(web) - Use native number type input for Number() and Integer(). When editing hyperdb.Number() or hyperdb.Integer() properties, use a native number input. For Number you can enter digits, +/-, . and e/E for exponent (1E2 = 100). For integer we have the same keys as number, but also add step=1 to the input. This stops submitting 23.5 suggesting 23 or 24. It does allow 2E4 to be submitted that is rejected with an error from the backend. However if the spinner is used with 2E4 it is turned into 20000, a pure integer and incremented/decremented by the spinner. The upgrade happens automatically. Directions on going back to text input provided. User guide updated to describe addition of spinner. Tests added.
author John Rouillard <rouilj@ieee.org>
date Sat, 18 Jan 2025 14:54:31 -0500
parents 2bf0c4e7795e
children ae7fadcac9e1
line wrap: on
line diff
--- a/CHANGES.txt	Sat Jan 18 12:23:23 2025 -0500
+++ b/CHANGES.txt	Sat Jan 18 14:54:31 2025 -0500
@@ -122,7 +122,9 @@
 - Added new templating utils.set_http_response(integer) method to
   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)
+
 2024-07-13 2.4.0
 
 Fixed:

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