This attribute is specially useful when a select is needed to display a short non dynamic list of options, so the entries can be defined statically and no datasource is needed.
For example, to create a list with 3 options like the following one
The next value will in the attribute will be needed
Group,keyGrouped,Filled,keyFilled,Transparent,keyTransparent
With the texts Group
, Filled
, Transparent
(in position 1, 3, and 5) being the labels that will be displayed in the Select, and the text keyGrouped
, keyFilled
, keyTransparent
the values that will be saved when this select is added to a form, and logic can be developed based on that
It is important to know that when this attribute is set, the Datasource attribute will be ignored and the list of entries displayed in this attribute will be the one that is being used for the list of options in the Select.
Back to Select Attributes
Back to Home Page