2022 April Release

Control COOATTREDIT@1.1:CTRLBase Permanent link for this heading

This control is used for basic data types like integer, float, string and object pointer.

COOATTREDIT@1.1:CTRLBase(
  string Change,
  boolean NotNull,
  boolean UseInCell,
  boolean IgnoreAttrdef,
  any Description,
  boolean UseCombo,
  boolean UseStub,
  boolean ShowReference,
  boolean ExtSearch,
  boolean ShowIcon,
  boolean NoSort,
  boolean SortByReference,
  any Placeholder,
  any MaskPattern,
  boolean DigitGrouping,
  string Accept,
  boolean AcceptClass,
  boolean AcceptAttr,
  string InputAutocomplete)

Name

Description

Change

Defines the JavaScript function that should be called when the value of the control has been changed.

NotNull

Defines whether the initializing value of the attribute definition should be used for the control, when it is null.

UseInCell

IgnoreAttrdef

Description

Defines the label for a Boolean value. By default, the name of the property is used as label. With this parameter the label will not be restricted to 254 characters. Not supported when a combo box or radio button is used to display the boolean value.

UseCombo

Defines whether a combo box is displayed for a Boolean value.

UseStub

Applies to content properties only. Defines whether the Fabasoft Folio or Fabasoft Cloud Client is used for uploading a content. In case of E-Services generally no stub is available.

ShowReference

Defines whether the multi-lingual name or the reference should be displayed. By default, it is false, which means that the multi-lingual name will be displayed.

ExtSearch

Defines whether the search button is enabled in an object pointer property.

ShowIcon

Defines whether the icon of the objects in the control should be displayed. By default, it is true.

NoSort

Defines whether the entries should be sorted by name or just displayed in the given order. By default it is false, which means that the entries will be sorted. This control parameter is obsolete. Use Control parameter SortMode instead.

SortByReference

Placeholder

Defines a string that is displayed as a placeholder in the background of the text field as long as there is no value in it. You can use an ordinary string or a String object if you want multi-lingual support.
If you specifying a mask pattern along with a placeholder the placeholder will be shown to help the user entering the property value. Therefore, it will not disappear when the user enters data. Note: The placeholder text will also be part of the value if the user do not overwrite it completely.

MaskPattern

Defines a string representing a mask which can be passed to input fields of types string and number. The following characters can be used for the mask:
  • 9 .. represents any number
  • a .. represents any letter in capital or in lower case
  • * .. represents any number or letter
  • ? .. defines the beginning of an optional part of the mask
Any other characters used in the pattern will be interpreted as delimiters and inserted in the input as they are. The mask specifying a date and an optional time string, for example, may be given as "99.99.9999? 99:99".

DigitGrouping

Applies to integer properties only. Defines whether digit-grouping symbols should be used for integer values. By default, integer values will not make use of digit-grouping symbols.

Accept

Applies to content properties only. This string is added to the allowed file type. One can add file extensions (e.g. ".pdf") or mimetypes (e.g. "application/xml"). Multiple values have to be separated by comma.

AcceptClass

Applies to content properties only. File extensions of the property classconttypes will be added to the allowed file types.

AcceptAttr

Applies to content properties only. File extensions of the property attrextension will be added to the allowed file types.

InputAutocomplete

Defines a string that is used for the "autocomplete" attribute of the input field. Use strings from https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill to improve accessibility.

Additional Information