Replies: 2 comments
-
Hi ! You can hide the arrows using css. And Screencast.From.2025-10-01.10-42-57.mp4select 'shell' as component, 'hide_numeric_input_arrows.css' as css;
select 'form' as component;
select 'n' as name, 'number' as type, .5 as step;
select 'alert' as component, 'You chose: ' || :n as title
where :n is not null; input[type='number'] {
-moz-appearance:textfield;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks. Somehow .5 as step had disappeared from the definition. But then it's still not an explanation as why 90 (entered by keyboard!) was considered not to be a valid number … |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Marking a form field numeric yields up and down buttons to change the value by mouse.
Sometimes this is not desired, and I want the buttons to disappear while I still want to retain the type of numeric.
Is there a way to lose these?
And in the same realm, setting a numeric field to step 0.5 requires every number to be .5 -- 90.0 is not considered a valid number, 90.5 is:
Still:
PostgreSQL 15.8 on x86_64-apple-darwin20.6.0, compiled by Apple clang version 12.0.5 (clang-1205.0.22.9), 64-bit macOS 11.7.10
SQLPage 0.36.1
Beta Was this translation helpful? Give feedback.
All reactions