NC choices
Not yet released: these components will ship in an upcoming Native Rent package version.
Chapter 19 covers the choice components: NC Buttons & Tiles, NC Picklist, and NC Choice Grid. Each component has its own page.
Layout and width, required messages, colors, navigation, data sources, translations, accessibility, and the setup panel work the same way on every component. See Shared behavior in 18 NC screen components.
Components in this chapter
| Component (API name after release) | Use it for |
|---|---|
NC Buttons & Tilesnativerent:ncButtons | Visual choices: tiles, cards, list rows, buttons, chips, avatars, swatches, small buttons, or a dropdown. |
NC Picklistnativerent:ncPicklist | Form-style choice fields: a dropdown, a radio or checkbox list, buttons, chips, a segmented bar, or a rating. |
NC Choice Gridnativerent:ncChoiceGrid | A matrix of questions: one answer or several per row. |
Which one to use
| You want | Use |
|---|---|
| A few options shown as large, tappable choices, with icons or images | NC Buttons & Tiles |
| A pick from a known set of people, with a photo or initials | NC Buttons & Tiles, Layout avatar |
| A small set of variants such as size, color, or finish | NC Buttons & Tiles, Layout swatch |
| A normal form field that looks like the other fields on the screen | NC Picklist |
| Two to five options on one pill bar | NC Picklist, Layout segmented |
| A star rating or a 1 to N score | NC Picklist, Layout rating |
| A condition or inspection checklist, one answer per item | NC Choice Grid |