Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jesper Skjønnemand 66 posts 441 karma points c-trib
    Feb 28, 2024 @ 12:31
    Jesper Skjønnemand
    0

    It seems that the max allowable value in Numeric property editor is 999 999 999. Anyone know if it is possible to allow even larger numbers, e.g. 1 billion?

  • Huw Reddick 1810 posts 6223 karma points MVP c-trib
    Mar 01, 2024 @ 10:00
    Huw Reddick
    100

    you could use a text input and set max-length and use a regex validator to only allow numbers

  • Jesper Skjønnemand 66 posts 441 karma points c-trib
    Mar 01, 2024 @ 10:43
    Jesper Skjønnemand
    0

    Brilliant no-frills solution. I will do this going forward.

    The thing is, my editors have already created a bunch of content elements using the numeric property, and it would be sad to see their work disappear.

    Still interested in a method to make the numeric property editor allow numbers >1.000.000.000.

  • Huw Reddick 1810 posts 6223 karma points MVP c-trib
    Mar 01, 2024 @ 11:10
    Huw Reddick
    0

    AFAIK this is a html/.net limitation and nothing to do with umbraco

  • Jesper Skjønnemand 66 posts 441 karma points c-trib
    Mar 01, 2024 @ 11:23
    Jesper Skjønnemand
    0

    ok, I was not aware of this

    text and regex it is

  • Steffen Hornbæk Nielsen 48 posts 139 karma points
    Mar 01, 2024 @ 11:56
    Steffen Hornbæk Nielsen
    0

    You could also created a custom property editor, with a Int64 as the value :D

  • Huw Reddick 1810 posts 6223 karma points MVP c-trib
    Mar 01, 2024 @ 12:01
    Huw Reddick
    0

    Hi Steffen,

    You could yes, but why bother when a standard text input would suffice. The limitation is not from Umbraco, the same limit would apply to any type=number input as it would fail validation.

Please Sign in or register to post replies

Write your reply to:

Draft