FieldSliderBarDecimal

From TempusServa wiki
Jump to navigation Jump to search

Sliderbar

Numbers with decimal comma using a sliderbar for input

Properties

  • Type: Visual_extra
  • Groupable: No
  • Show in lists: Yes
  • Searchable: Yes


User interface

Field in show mode

FieldNumberDecimal show.png

Field in edit mode

FieldSliderBarDecimal edit.png

User interface as displayed in picture


Configuration

All configurations are used in the same way as the field Decimal FieldSliderBarDecimal BE.png

Required:

  • Minimal value
  • Maximum value

Options:

  • Making the slider display vertically
    • orientation: "vertical",
  • Using steps i the slider
    • step: 10,
  • JSON configuration notes: [1]

Developer info

  • FeltTypeID: 911
  • SQL datatype: decimal(20,6)
  • Class name: FieldNumberDecimal
  • Field is allowed in inline tables
  • Pattern: ^(\d|-)?(\d|,)*\.?\d*$