dglux5_wiki:widgets_and_property_inspector:property_inspector:input:home

Input Component Properties


These properties affect any of the following components:

  • Text Input
  • Text Area
  • Password Input
  • Date Input
  • Color Input
  • Number Input
  • Range Input

Value

Value

Value
Sets or returns the current contents of this input component.

The Value property
The Value property

Is Valid

Is Valid

Is Valid
Returns whether this component’s current contents are valid. Validity is determined by the component type, and by properties like Minimum, Maximum, and Input Type.

Validity is checked whenever data is committed. Therefore, if Live Update is enabled, validity is checked constantly. If Live Update is disabled, validity is checked when the focus leaves the component.

The Is Valid property
The Is Valid property

Live Update

Live Update

Live Update
Specifies when the user’s changes to this component are committed. This property affects changes made in Preview Mode, the Viewer, and the deployed application. It does not affect changes that you make within the Property Inspector.

TRUE
Changes are committed constantly, as the user makes them.

FALSE
Changes are committed only when focus leaves the component.

The Live Update property
The Live Update property

Left Padding

Left Padding

Left Padding
Defines a number of pixels of space between the left container boundary and the leftmost edge of the content. Negative numbers are not allowed.

Paddings are part of an object's width and height. See Borders, Padding, and Content Size.

The Left Padding property
The Left Padding property

Right Padding

Right Padding

Right Padding
Defines a number of pixels of space between the right container boundary and the rightmost edge of the content. Negative numbers are not allowed.

Paddings are part of an object's width and height. See Borders, Padding, and Content Size.

The Right Padding property
The Right Padding property

Top Padding

Top Padding

Top Padding
Defines a number of pixels of space between the top container boundary and the topmost edge of the content. Negative numbers are not allowed.

Paddings are part of an object's width and height. See Borders, Padding, and Content Size.

The Top Padding property
The Top Padding property

Bottom Padding

Bottom Padding

Bottom Padding
Defines a number of pixels of space between the bottom container boundary and the bottommost edge of the content. Negative numbers are not allowed.

Paddings are part of an object's width and height. See Borders, Padding, and Content Size.

The Bottom Padding property
The Bottom Padding property

Link Paddings

Link Paddings

Link Paddings
Links all four padding editors so that their values are equal.

The Link Paddings property
The Link Paddings property

Text Direction

Text Direction

Text Direction
This property is not shown for the color input component.

Specifies the direction for text and input in this component, to support the use of right-to-left languages.

Left to right
The text or user input direction is left to right.

Right to left
The text or user input direction is right to left.

Auto
The direction of user input is automatically detected as the user enters text.

The Text Direction property
The Text Direction property

These properties affect any of the following components:

  • Text Input
  • Text Area
  • Password Input
  • Date Input
  • Number Input

Font

Font

Font
Specifies the font for this element.

To add a new font to your project and use it for this property, see How do I add a new font to my project?

The Font property
The Font property

Font Color

Font Color

Font Color
Defines the font color for this component.

The Font Color property
The Font Color property

Font Size

Font Size

Font Size
Defines the font size for this component. If the font size is set to Auto, the text scales to occupy the size of the component.

The Font Size property
The Font Size property

Italic

Italic

Italic
Specifies whether text in this element is italicized.

The Italic property
The Italic property

Bold

Bold

Bold
Specifies whether text in this element is bold.

The Bold property
The Bold property

Underline

Underline

Underline
Specifies whether text in this element is underlined.

The Underline property
The Underline property

Horizontal Alignment

Horizontal Alignment

Horizontal Alignment
Specifies whether the content in this component is left-justified, centered, or right-justified.

The Horizontal Alignment property
The Horizontal Alignment property

The Placeholder property affects any of the following components:

  • Text Input
  • Text Area
  • Password Input
  • Number Input
  • List Input

Placeholder

Placeholder

Placeholder
Defines the placeholder text that appears in this input component when there is no Value. The color picker next to the Placeholder field sets the color of the placeholder text.

The Placeholder property
The Placeholder property


These properties affect a text input component or a text area component. These components are also affected by shared input properties.

Input Type

Input Type

Input Type
For a text input component, specifies the valid input type, or the expected input type.

Text
A single line of text. Line breaks are automatically removed.

Email
A single, properly formatted e-mail address, or the empty string.

URL
A single, valid, absolute URL, or the empty string.

Tel
A single line of text. Line breaks are automatically removed. On mobile devices, the on-screen keyboard is optimized for number entry.

Search
A single line of text, displayed as a search field. Line breaks are automatically removed.

The Input Type property
The Input Type property

Scrollbar Styles

Scrollbar Styles

Scrollbar Styles
For a text area component only. In the Advanced part of the Input section, defines the style of the scrollbars that appear when the text doesn't fit in the component.


These properties affect a date input component. This component is also affected by shared input properties.

Input Type

Input Type

Input Type
Specifies the valid input type, or the expected input type.

Date
A year, month, and day.

Week
A year and a week number. A week that spans two years is both week 53 of the earlier year and week 1 of the later year.

Month
A month and year.

The Input Type property
The Input Type property

Arrow Color

Arrow Color

Arrow Color
Defines the color of the drop-down arrow of the date input component.

Arrow Opacity

Arrow Opacity

Arrow Opacity
Defines the opacity of the drop-down arrow, from 0 to 100. The default is 100.

Arrow Image

Arrow Image

Arrow Image
Specifies a custom image for the drop-down arrow. If you don't specify an image, the default arrow is used.


These properties affect a color input component. This component is also affected by shared input properties.

Open

Open

Open
Opens the browser color picker. The color picker is also automatically opened when the user clicks the component.

The Open property
The Open property

Datalist

Datalist

Datalist
Specifies the predefined colors in this color input component. Predefined colors are not supported in all browsers. Regardless of whether the predefined list is supported, the user can still enter a custom value.

Click on color in the Property Inspector to edit it.

Colors are displayed in order in this color input component, with the top color appearing first.

The Datalist property
The Datalist property


These properties affect a number input component. This component is also affected by shared input properties.

Min

Min

Min
Defines a minimum valid number for this input component.

If this is a range input component, and the minimum is null, the bottom of the range is zero.

The Min property
The Min property

Max

Max

Max
Defines a maximum valid number for this input component.

If this is a range input component, and the maximum is null, the top of the range is 100.

The Max property
The Max property

Step

Step

Step
Defines the interval between valid numbers for this input component. Valid numbers are the minimum and multiples of the Step value larger than the minimum. If no minimum is defined, valid numbers are zero and multiples of the Step value larger or smaller than zero. A Step value of zero means that any interval is allowed.

The Step property
The Step property

Always Show Spinner

Always Show Spinner

Always Show Spinner
By default, the spinner (up/down arrows) appears only when the user mouses over the component. To always display the spinner, set this property to TRUE.

Step Snapping

Step Snapping

Step Snapping
If TRUE, a number that the user enters is rounded to the nearest multiple of Step. Rounding happens when the user presses Enter or the component loses focus. The default is FALSE.


These properties affect a range input component. This component is also affected by shared input properties.

Min

Min

Min
Defines a minimum valid number for this input component.

If this is a range input component, and the minimum is null, the bottom of the range is zero.

The Min property
The Min property

Max

Max

Max
Defines a maximum valid number for this input component.

If this is a range input component, and the maximum is null, the top of the range is 100.

The Max property
The Max property

Step

Step

Step
Defines the interval between valid numbers for this input component. Valid numbers are the minimum and multiples of the Step value larger than the minimum. If no minimum is defined, valid numbers are zero and multiples of the Step value larger or smaller than zero. A Step value of zero means that any interval is allowed.

The Step property
The Step property

Ticks

Ticks

Ticks
Defines values where ticks appear on the range selector, as a list of comma-separated values.

The Ticks property
The Ticks property

Always Show Spinner

Always Show Spinner

Always Show Spinner and Step Snapping
Also shown for the range input component. See Number Input Properties.


These properties affect the file input component.

Filename

Filename

Filename
Sets or returns the name of the file to open.

The Filename property
The Filename property

File Content

File Content

File Content
Displays the content of the selected file as a string or binary.

The File Content property
The File Content property

Files

Files

Files
Returns a read-only table describing the files selected by the user.

The Files property
The Files property

Mode

Mode

Mode
Sets whether the file content is displayed as a string or as binary.

The Mode property
The Mode property

Selection Type

Selection Type

Selection Type
Determines whether the user can select multiple files.

Single File
The user can select only one file.

Multiple Files
The user can select one or more files.

The Selection Type property
The Selection Type property

Accept

Accept

Accept
Specifies the file formats that are accepted by this file chooser.

Enter one or more of the following values separated by commas:

  • .png, .jpg, .gif, etc.: Files of the format specified.
  • audio/*: All sound files.
  • video/*: All video files.
  • image/*: All image files.
  • media_type/*: Replace media_type with any valid media type, to accept all formats within that type. Look at IANA Media Types for a complete list of standard media types.

The Accept property
The Accept property

Open

Open

Open
A trigger that opens the browser file chooser. For information about using triggers, see Binding from an Event Property to a Trigger Property.

The Open property
The Open property


These properties affect a list input component.

Value

Value

Value
Sets or returns the currently selected list option.

The Value property
The Value property

Selected Index

Selected Index

Selected Index
Sets or returns the index of the currently selected list option. A value of 0 indicates the top option in the list.

The Selected Index property
The Selected Index property

Options

Options

Options
Defines the list of options for this list element, as comma-separated values.

The Options property
The Options property

In the List Element section, the selected element font properties are labeled Font and Size (with the italic, bold, and underline toggles). The options font properties are under Option Font Styles in the Advanced part of the section.

Selected Element Font

Selected Element Font

Selected Element Font
Defines the font for the selected option.

To add a new font to your project and use it for this property, see How do I add a new font to my project?

The Selected Element Font property
The Selected Element Font property

Selected Element Font Color

Selected Element Font Color

Selected Element Font Color
Defines the font color for the selected option.

The Selected Element Font Color property
The Selected Element Font Color property

Selected Element Font Size

Selected Element Font Size

Selected Element Font Size
Defines the font size for the selected option.

The Selected Element Font Size property
The Selected Element Font Size property

Selected Element Font Italic

Selected Element Font Italic

Selected Element Font Italic
Defines whether the selected option is italic.

The Selected Element Font Italic property
The Selected Element Font Italic property

Selected Element Font Bold

Selected Element Font Bold

Selected Element Font Bold
Defines whether the selected option is bold.

The Selected Element Font Bold property
The Selected Element Font Bold property

Selected Element Font Underline

Selected Element Font Underline

Selected Element Font Underline
Defines whether the selected option is underlined.

The Selected Element Font Underline property
The Selected Element Font Underline property

Placeholder

Placeholder

Placeholder
Defines the text that appears when no option is selected. The color picker next to the Placeholder field sets the color of the placeholder text.

Paddings

Paddings

Paddings
Left, right, top, and bottom paddings in pixels, and the Link Paddings toggle. These work the same way as the shared padding properties.

Text Direction

Text Direction

Text Direction
In the Advanced part of the section. Specifies the direction of the text: Auto, Left to Right, or Right to Left.

Options Font

Options Font

Options Font
Defines the font for the options list. Not supported in all browsers. To add a font to this project and use it for this property, see How do I add a new font to my project?

The Options Font property
The Options Font property

Options Font Color

Options Font Color

Options Font Color
Defines the font color for the options list. Not supported in all browsers.

The Options Font Color property
The Options Font Color property

Options Font Size

Options Font Size

Options Font Size
Defines the font size for the options list. Not supported in all browsers.

The Options Font Size property
The Options Font Size property

Options Font Italic

Options Font Italic

Options Font Italic
Defines whether the options list is italic. Not supported in all browsers.

The Options Font Italic property
The Options Font Italic property

Options Font Bold

Options Font Bold

Options Font Bold
Defines whether the options list is bold. Not supported in all browsers.

The Options Font Bold property
The Options Font Bold property

Options Font Underline

Options Font Underline

Options Font Underline
Defines whether the options list is underlined. Not supported in all browsers.

The Options Font Underline property
The Options Font Underline property

Options Background

Options Background

Options Background
Defines the background color for the options list. Not supported in all browsers.

The Options Background property
The Options Background property

Show Arrow

Show Arrow

Show Arrow
Determines whether an arrow graphic appears in the component, indicating a drop-down list.

The Show Arrow property
The Show Arrow property

Arrow Image

Arrow Image

Arrow Image
Specifies a custom arrow graphic that appears if Show Arrow is enabled. If you don't specify an image, a default graphic is used.

The Arrow Image property
The Arrow Image property


DG Time Input properties

These properties affect the DG Time Input component. They appear in the Time Input section of the Property Inspector. All time values are in milliseconds since midnight.

Value

Value

Value
Sets or returns the selected time, as a number of milliseconds since midnight. For example, 1:30 PM is 48600000.

Min

Min

Min
Defines the earliest valid time, in milliseconds. If the user enters an earlier time, the value is set to Min.

Max

Max

Max
Defines the latest valid time, in milliseconds. If the user enters a later time, the value is set to Max. The value can never exceed 24 hours (86400000).

Step

Step

Step
Defines the step, in milliseconds, used when the user changes the time with the arrow keys or stepper buttons. The step is split across the fields: for example, a Step of 900000 (15 minutes) makes the minutes field change by 15. The default is 1.

Format

Format

Format
Specifies which fields are displayed. The default is HH:mm:ss.S.

  • HH: hours, 0-23
  • hh: hours, 12-hour clock
  • mm: minutes
  • ss: seconds
  • S: milliseconds
  • a: AM/PM selector

Examples: hh:mm a, HH:mm, HH:mm:ss.S.

Show Clear Button

Show Clear Button

Show Clear Button
Shows or hides a button that clears the value. The default is FALSE.

Show Stepper Buttons

Show Stepper Buttons

Show Stepper Buttons
Shows or hides up/down buttons that change the focused field by the step. The default is FALSE.

Focus Color

Focus Color

Focus Color
Defines the text color of the field that has focus.

Focus Background Color

Focus Background Color

Focus Background Color
Defines the background color of the field that has focus.

Font

Font

Font, Font Color, Size, Italic, Bold, Underline, Letter Spacing
Define the text style of the time fields.

Advanced Properties

Advanced Properties

These properties are available in the Advanced panel:

  • daypartOptionBackground: background of the AM/PM drop-down list.
  • daypartOptionColor: text color of the AM/PM drop-down list.
  • intervalEnd: if TRUE and the format uses a 12-hour clock, 12:00 AM with all fields at zero means the end of the day (24:00) instead of the start of the day. Use this when the component selects the end of a time range.
  • onChange: fires when the value changes.
  • onModified: fires when a field loses focus after it was changed.
  • onGainFocus / onLoseFocus: fire when the component gains or loses focus.
  • onAmPmChange: fires when the AM/PM selector changes.
  • dglux5_wiki/widgets_and_property_inspector/property_inspector/input/home.txt
  • Last modified: 2026/10/22 17:28
  • by 127.0.0.1