Number

Number #

The number field generates a field for entering numbers. Both integers and floating numbers are allowed. It’s not possible to enter othert characters.

Number

Number

Properties #

propertyvalue typeoptionaldescription
keystringmandatoryKeys are for internal use and must be unique
titlestringoptionalThe title of the element
tipstringoptional (default: null)Text entered here with markdown formatting is displayed as context help in an overlay box
defaultstringoptional (default: null)default value when the key is not set yet

Sample #

Configuration #

./quiqr/model/base.
     
key: sample_field
title: Sample field
type: number
key = "sample_field"
title = "Sample field"
type = "number"
{
   "key": "sample_field",
   "title": "Sample field",
   "type": "number"
}

Output #

sample_field: 13.3