7. UI component tags Flashcards
What’s the syntax for creating a select element from a collection of objects?
NOTE: the list attribute has the collection of objects, the listKey can be used to tell which property is the ID while listValue is used to determine what’s displayed.
![](https://s3.amazonaws.com/brainscape-prod/system/cm/343/438/223/a_image_thumb.png?1618944157)
What is the label UI component used for? What are the properties?
Basically read-only text-field.
![](https://s3.amazonaws.com/brainscape-prod/system/cm/343/445/879/a_image_thumb.png?1618944525)
What is the hidden UI component used for?
Embedding hidden request parameters in our forms.
name/value attributes worth remembering.
![](https://s3.amazonaws.com/brainscape-prod/system/cm/343/446/477/a_image_thumb.png?1618944632)
What is the doubleselect UI component used for? What are the important attributes?
Just like a select, except the following extra attributes are equivalent to the normal select.
name = doubleName
list = doubleList
listKey = doubleListKey
listValue = doubleListValue
![](https://s3.amazonaws.com/brainscape-prod/system/cm/343/446/557/a_image_thumb.png?1618945025)