Child pages
  • Specification (.spec file)

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Used only for dataprovider types. In case there are more then one dataprovider types, setting this tag to 'true' will define the main dataprovider, that
is needed on different places, like sorting. As an example, having a component with 2 dataprovider properties, and using it in a table view, that
component is used for column rendering, and calling sort on that column, by clicking on the column header, will need the dataprovider from the
component to do the sort - using the 'main' tag, we can define the dataprovider to use. (see onrenderlabel component from servoy-extra package)


mode: string (starting with Servoy 2019.03) - Restricts the model property to: 'combobox' or 'typeahead' for now. (Default is combobox) 

This can be used only on string properties when they have values attribute. Setting mode to typeahead will create a typeahead property in property editor. Setting mode to combobox or skipping mode property will create a combobox in property editor.

Code Block
languagejs
"someTextProperties": { "type": "string", 
						"tags": { "scope": "design" },
                        "values": [ { "Predefined Text 1": "sample text 1" }, { "Predefined Text 2": "sample text 2" } ]
                      }

Default / Initial / Predefined values

...