Home Forums Presentation Controls Using "Range" control type

Tagged: 

Viewing 2 reply threads
  • Author
    Posts
    • #12894
      Aditya PhatakAditya Phatak
      Participant

      Hi,

      We are trying to use a Range control in a layout for taking in time in Hours and Mins format (we are working on AFL 9.3 version). We need to specify a upper and lower limit for these as 0-23 for hours range and 0-59 for mins. Value of these range fields are bound to attributes of “integer” type.

      We tried setting “hi=23” and “lo=0” on the properties of the control but it is still taking the full range of the integer (-2,147,483,648 to 2,147,483,642) instead of 0 to 23 or 0 to 59.

      Can you please let us know how to use these limits?

       

      Regards,

      Aditya Phatak.

      0
    • #12907
      Shahzad Qureshishahzad.qureshi
      Keymaster

      Hi,

      Unfortunately the Range control has a bug in 9.3 where hi and lows are not respected. The bug has been fixed in 9.4 which is expected to be released at the end of March 2020.

      0
    • #12916
      Shahzad Qureshishahzad.qureshi
      Keymaster

      One temporary workaround could be to validate the field on model rather than client side.

      0
Viewing 2 reply threads
  • You must be logged in to reply to this topic.