Domogik field types¶
Purpose¶
These types are used to validate the input (on the ui) for certain fields. An example configuration parameters, command parameters, ….
Known Field Types¶
Boolean¶
Will result in a checkbox, value can be True or False
String¶
Wil result in a text input field
- optional parameters:
- max_length : integer
- min_length : integer
- mask_str : regexp to validate the string
- multiline : boolean
Password¶
Wil result in a password input field
- optional parameters:
- max_length : integer
- min_length : integer
- mask_str : regexp to validate the string
Date¶
A format of ‘DD/MM/YYYY’
Time¶
A format of ‘HH:MM:SS’
DateTime¶
A format of ‘DD/MM/YYYY HH:MM:SS’
Email¶
An email format
Ipv4¶
An ipv4 address
Ipv6¶
An ipv6 address