Mercurial > p > roundup > code
comparison doc/upgrading.txt @ 8346:107761be1e75
docs: issue2551398 document enabling native browser number/integer types
The original default was to have them enabled. Due to issues with
locale (e.g. decimal thousands separator vs comma seperator) this is
disabled by default. See issue for details.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 25 Jun 2025 23:10:56 -0400 |
| parents | 35fab0db52f5 |
| children | 6ea309c6d17c |
comparison
equal
deleted
inserted
replaced
| 8345:35fab0db52f5 | 8346:107761be1e75 |
|---|---|
| 360 | 360 |
| 361 There is no support for activating text mode using the | 361 There is no support for activating text mode using the |
| 362 keyboard. Tablet/touch support is mixed. Chrome supports | 362 keyboard. Tablet/touch support is mixed. Chrome supports |
| 363 double-tap to activate text mode input. Firefox does not. | 363 double-tap to activate text mode input. Firefox does not. |
| 364 | 364 |
| 365 Revert native number inputs for Number() and Integer() (optional) | 365 Enable native number inputs for Number() and Integer() (optional) |
| 366 ----------------------------------------------------------------- | 366 ----------------------------------------------------------------- |
| 367 | 367 |
| 368 Roundup's ``field()`` method for properties of type ``Number()`` or | 368 Roundup's ``field()`` method for properties of type ``Number()`` or |
| 369 ``Integer()`` now use a native browser number input by default. | 369 ``Integer()`` can use a native browser number input by default. |
| 370 | 370 |
| 371 This is configurable for *all* ``Number()`` and ``Integer()`` properties | 371 This is configurable for *all* ``Number()`` and ``Integer()`` properties |
| 372 with the config option ``use_browser_number_input`` in section ``[web]``. | 372 with the config option ``use_browser_number_input`` in section ``[web]``. |
| 373 | 373 |
| 374 You can use the old style text inputs for individual fields | 374 You can use the old style text inputs for individual fields |
| 376 | 376 |
| 377 Note that the ``Integer()`` type also uses ``step="1"`` by default to | 377 Note that the ``Integer()`` type also uses ``step="1"`` by default to |
| 378 add a stepper control and try to constrain the input to | 378 add a stepper control and try to constrain the input to |
| 379 integers. This can be overridden by passing a new step | 379 integers. This can be overridden by passing a new step |
| 380 (e.g. ``step="50"``) to the ``field()`` method. | 380 (e.g. ``step="50"``) to the ``field()`` method. |
| 381 | |
| 382 This is an experiment and maybe changed based on feedback. | |
| 381 | 383 |
| 382 Change in REST response for invalid CORS requests (info) | 384 Change in REST response for invalid CORS requests (info) |
| 383 -------------------------------------------------------- | 385 -------------------------------------------------------- |
| 384 | 386 |
| 385 CORS_ preflight requests that are missing required headers can | 387 CORS_ preflight requests that are missing required headers can |
