Difference between revisions of "FieldSliderBarDecimal"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
(Created page with '= Decimal = Numbers with decimal comma Properties * Type: Basic * Groupable: No * Show in lists: Yes * Searchable: Yes == User interface == Fiel…')
 
m (5 revisions imported)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
= Decimal =
= Sliderbar =
Numbers with decimal comma
Numbers with decimal comma using a sliderbar for input


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 16: Line 16:
Field in edit mode
Field in edit mode


[[File:FieldNumberDecimal_edit.png]]
[[File:FieldSliderBarDecimal_edit.png]]


User interface as displayed in picture
User interface as displayed in picture
Line 22: Line 22:


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


Required:
Required:
* ''As shown above''
* Minimal value
* Maximum value


Options:
Options:
* ''As shown above''
* Making the slider display vertically
 
** orientation: "vertical",
* Using steps i the slider
** step: 10,
* JSON configuration notes: [http://jqueryui.com/slider/]


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

Latest revision as of 12: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*$