Difference between revisions of "FieldSliderBarDecimal"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
old>Admin
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]]



Revision as of 23:55, 13 December 2013

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