diff doc/user_guide.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 b99e76e76496
line wrap: on
line diff
--- a/doc/user_guide.txt	Sat Jan 18 12:23:23 2025 -0500
+++ b/doc/user_guide.txt	Sat Jan 18 14:54:31 2025 -0500
@@ -131,7 +131,8 @@
 ~~~~~~~~~~~~~~~~~~
 
 These fields take a whole/integer number without decimal marker like
-``123``, ``+123``, ``-123``. Exponents are not supported.
+``123``, ``+123``, ``-123``. Exponents are not supported. Your browser
+may show an up/down arrow spinner to change the value. 
 
 Boolean properties
 ~~~~~~~~~~~~~~~~~~

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