How to set NativeSelect label and value?

How do I set NativeSelect the label and the value it? label and value are different, how to set up and how do I get it? as HTML in the select> option as


Normally, the item caption is the string representation of the item ID. The source of the caption depends on the caption mode of the selection component. If you use the [tt]
[/tt] mode, which is the default, you can set the item captions explicitly with setItemCaption(), see
an example

The other caption modes allow you to get the item caption from
a specific item property
, etc.

See the section
Caption Modes for Selection Components
in the Book for detailed documentation.

Thank you very much! I understand!