Difference between revisions of "FieldSliderBarDecimal"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
m (5 revisions imported)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:


Properties
Properties
* Type: [[Field type reference#Basic|Basic]]
* Type: [[Field type reference#Visual_extra|Visual_extra]]
* Groupable: No
* Groupable: No
* Show in lists: Yes
* Show in lists: Yes
Line 22: Line 22:


== Configuration ==
== Configuration ==
All configurations are used in the same way as the field [[FieldNumberDecimal|Decimal]]
[[File:FieldSliderBarDecimal_BE.png]]
[[File:FieldSliderBarDecimal_BE.png]]



Latest revision as of 11:52, 10 December 2021

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*$