@lowdefy/docs-content 0.0.0-experimental-20260710073520
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +20 -0
- package/content/actions/callapi.md +66 -0
- package/content/actions/callmethod.md +41 -0
- package/content/actions/copytoclipboard.md +32 -0
- package/content/actions/displaymessage.md +53 -0
- package/content/actions/downloadcsv.md +89 -0
- package/content/actions/fetch.md +50 -0
- package/content/actions/geolocationcurrentposition.md +56 -0
- package/content/actions/link.md +104 -0
- package/content/actions/login.md +85 -0
- package/content/actions/logout.md +56 -0
- package/content/actions/pdfmake.md +304 -0
- package/content/actions/request.md +67 -0
- package/content/actions/reset.md +27 -0
- package/content/actions/resetvalidation.md +85 -0
- package/content/actions/scrollto.md +85 -0
- package/content/actions/setdarkmode.md +62 -0
- package/content/actions/setfocus.md +33 -0
- package/content/actions/setglobal.md +63 -0
- package/content/actions/setlocale.md +69 -0
- package/content/actions/setstate.md +70 -0
- package/content/actions/throw.md +72 -0
- package/content/actions/validate.md +87 -0
- package/content/actions/wait.md +24 -0
- package/content/agents/agent-endpoint-tools.md +190 -0
- package/content/agents/agent-mcp-tools.md +124 -0
- package/content/agents/agent-multi-agent.md +136 -0
- package/content/agents/agent-properties.md +174 -0
- package/content/agents/agent-server-hooks.md +336 -0
- package/content/agents/agentchat.md +515 -0
- package/content/agents/agentconversations.md +148 -0
- package/content/concepts/ai-agent-docs.md +190 -0
- package/content/concepts/cli.md +213 -0
- package/content/concepts/connections-and-requests.md +7 -0
- package/content/concepts/custom-html.md +3 -0
- package/content/concepts/custom-styling.md +161 -0
- package/content/concepts/events-and-actions.md +271 -0
- package/content/concepts/hosting-files.md +18 -0
- package/content/concepts/i18n.md +320 -0
- package/content/concepts/keyboard-shortcuts.md +218 -0
- package/content/concepts/layout-overview.md +478 -0
- package/content/concepts/lists.md +144 -0
- package/content/concepts/logger.md +43 -0
- package/content/concepts/lowdefy-schema.md +365 -0
- package/content/concepts/menus.md +144 -0
- package/content/concepts/module-authoring.md +564 -0
- package/content/concepts/modules.md +338 -0
- package/content/concepts/operators.md +45 -0
- package/content/concepts/overview.md +19 -0
- package/content/concepts/references-and-templates.md +207 -0
- package/content/concepts/secrets.md +24 -0
- package/content/concepts/selectors.md +143 -0
- package/content/connections/amazonredshift.md +176 -0
- package/content/connections/anthropic.md +232 -0
- package/content/connections/awss3.md +313 -0
- package/content/connections/azureblobstorage.md +133 -0
- package/content/connections/elasticsearch.md +371 -0
- package/content/connections/google.md +228 -0
- package/content/connections/googlecloudstorage.md +139 -0
- package/content/connections/googlesheet.md +313 -0
- package/content/connections/knex.md +206 -0
- package/content/connections/mariadb.md +177 -0
- package/content/connections/mcp.md +134 -0
- package/content/connections/mongodb.md +739 -0
- package/content/connections/mssql.md +191 -0
- package/content/connections/mysql.md +192 -0
- package/content/connections/openai-connection.md +228 -0
- package/content/connections/postgresql.md +200 -0
- package/content/connections/redis.md +116 -0
- package/content/connections/sendgridmail.md +94 -0
- package/content/connections/smtp.md +149 -0
- package/content/connections/sqlite.md +187 -0
- package/content/connections/stripe.md +115 -0
- package/content/container-blocks/affix.md +413 -0
- package/content/container-blocks/alert.md +937 -0
- package/content/container-blocks/badge.md +1222 -0
- package/content/container-blocks/box.md +1453 -0
- package/content/container-blocks/card.md +1200 -0
- package/content/container-blocks/carousel.md +2247 -0
- package/content/container-blocks/collapse.md +1335 -0
- package/content/container-blocks/configprovider.md +1070 -0
- package/content/container-blocks/confirmmodal.md +1159 -0
- package/content/container-blocks/content.md +597 -0
- package/content/container-blocks/descriptions.md +870 -0
- package/content/container-blocks/drawer.md +1379 -0
- package/content/container-blocks/dropdownmenu.md +643 -0
- package/content/container-blocks/flex.md +1510 -0
- package/content/container-blocks/footer.md +380 -0
- package/content/container-blocks/googlemaps.md +546 -0
- package/content/container-blocks/googlemapsheatmap.md +607 -0
- package/content/container-blocks/googlemapsscript.md +61 -0
- package/content/container-blocks/header.md +302 -0
- package/content/container-blocks/label.md +739 -0
- package/content/container-blocks/layout.md +604 -0
- package/content/container-blocks/masonry.md +1090 -0
- package/content/container-blocks/mobilemenu.md +1244 -0
- package/content/container-blocks/modal.md +1180 -0
- package/content/container-blocks/pageheadermenu.md +614 -0
- package/content/container-blocks/pagesidebarlayout.md +438 -0
- package/content/container-blocks/pagesidermenu.md +651 -0
- package/content/container-blocks/popover.md +1421 -0
- package/content/container-blocks/result.md +972 -0
- package/content/container-blocks/sider.md +1064 -0
- package/content/container-blocks/span.md +747 -0
- package/content/container-blocks/spinner.md +267 -0
- package/content/container-blocks/splitter.md +1735 -0
- package/content/container-blocks/tabs.md +1718 -0
- package/content/container-blocks/tooltip.md +1274 -0
- package/content/container-blocks/watermark.md +515 -0
- package/content/controls/for.md +103 -0
- package/content/controls/if.md +107 -0
- package/content/controls/log.md +50 -0
- package/content/controls/parallel.md +71 -0
- package/content/controls/parallel_for.md +36 -0
- package/content/controls/reject.md +56 -0
- package/content/controls/return.md +66 -0
- package/content/controls/set_state.md +98 -0
- package/content/controls/switch.md +90 -0
- package/content/controls/throw.md +79 -0
- package/content/controls/try.md +88 -0
- package/content/deployment/docker.md +149 -0
- package/content/deployment/node-server.md +27 -0
- package/content/deployment/vercel.md +101 -0
- package/content/display-blocks/aggrid.md +1459 -0
- package/content/display-blocks/anchor.md +336 -0
- package/content/display-blocks/avatar.md +1154 -0
- package/content/display-blocks/breadcrumb.md +517 -0
- package/content/display-blocks/button.md +758 -0
- package/content/display-blocks/calendar.md +156 -0
- package/content/display-blocks/dangeroushtml.md +314 -0
- package/content/display-blocks/dangerousmarkdown.md +423 -0
- package/content/display-blocks/diffgit.md +44 -0
- package/content/display-blocks/difflist.md +225 -0
- package/content/display-blocks/diffsidebyside.md +56 -0
- package/content/display-blocks/difftimeline.md +94 -0
- package/content/display-blocks/divider.md +406 -0
- package/content/display-blocks/download.md +60 -0
- package/content/display-blocks/dropdownbutton.md +661 -0
- package/content/display-blocks/echart.md +418 -0
- package/content/display-blocks/floatbutton.md +545 -0
- package/content/display-blocks/html.md +311 -0
- package/content/display-blocks/icon.md +717 -0
- package/content/display-blocks/img.md +479 -0
- package/content/display-blocks/markdown.md +520 -0
- package/content/display-blocks/markdownwithcode.md +730 -0
- package/content/display-blocks/menu.md +1123 -0
- package/content/display-blocks/message.md +941 -0
- package/content/display-blocks/notification.md +1410 -0
- package/content/display-blocks/paragraph.md +643 -0
- package/content/display-blocks/progress.md +818 -0
- package/content/display-blocks/qrcode.md +519 -0
- package/content/display-blocks/s3download.md +240 -0
- package/content/display-blocks/search.md +360 -0
- package/content/display-blocks/skeleton.md +272 -0
- package/content/display-blocks/skeletonavatar.md +222 -0
- package/content/display-blocks/skeletonbutton.md +245 -0
- package/content/display-blocks/skeletoninput.md +223 -0
- package/content/display-blocks/skeletonparagraph.md +201 -0
- package/content/display-blocks/statistic.md +485 -0
- package/content/display-blocks/steps.md +585 -0
- package/content/display-blocks/tag.md +620 -0
- package/content/display-blocks/title.md +654 -0
- package/content/display-blocks/tour.md +2359 -0
- package/content/input-blocks/autocomplete.md +786 -0
- package/content/input-blocks/buttonselector.md +964 -0
- package/content/input-blocks/checkboxselector.md +765 -0
- package/content/input-blocks/checkboxswitch.md +497 -0
- package/content/input-blocks/colorselector.md +884 -0
- package/content/input-blocks/daterangeselector.md +777 -0
- package/content/input-blocks/dateselector.md +693 -0
- package/content/input-blocks/datetimeselector.md +791 -0
- package/content/input-blocks/inputgallery.md +528 -0
- package/content/input-blocks/monthselector.md +717 -0
- package/content/input-blocks/multipleselector.md +1337 -0
- package/content/input-blocks/numberinput.md +855 -0
- package/content/input-blocks/pagination.md +679 -0
- package/content/input-blocks/paragraphinput.md +1664 -0
- package/content/input-blocks/passwordinput.md +480 -0
- package/content/input-blocks/phonenumberinput.md +688 -0
- package/content/input-blocks/radioselector.md +820 -0
- package/content/input-blocks/ratingslider.md +684 -0
- package/content/input-blocks/s3uploadbutton.md +384 -0
- package/content/input-blocks/s3uploaddragger.md +305 -0
- package/content/input-blocks/s3uploadphoto.md +288 -0
- package/content/input-blocks/segmentedselector.md +782 -0
- package/content/input-blocks/selector.md +1162 -0
- package/content/input-blocks/switch.md +552 -0
- package/content/input-blocks/textarea.md +714 -0
- package/content/input-blocks/textinput.md +639 -0
- package/content/input-blocks/tiptapinput.md +226 -0
- package/content/input-blocks/tiptapmentioninput.md +471 -0
- package/content/input-blocks/titleinput.md +1094 -0
- package/content/input-blocks/treeinput.md +144 -0
- package/content/input-blocks/treemultipleselector.md +162 -0
- package/content/input-blocks/treeselector.md +185 -0
- package/content/input-blocks/upload.md +149 -0
- package/content/input-blocks/uploaddragger.md +85 -0
- package/content/input-blocks/uploadphoto.md +84 -0
- package/content/input-blocks/weekselector.md +630 -0
- package/content/list-blocks/controlledlist.md +498 -0
- package/content/list-blocks/list.md +529 -0
- package/content/list-blocks/listselector.md +301 -0
- package/content/list-blocks/masonrylist.md +230 -0
- package/content/migration/upgrade-guide.md +106 -0
- package/content/migration/v4-to-v5.md +589 -0
- package/content/migration/v5-to-v6.md +36 -0
- package/content/operators/_actions.md +58 -0
- package/content/operators/_and.md +76 -0
- package/content/operators/_api.md +254 -0
- package/content/operators/_app.md +114 -0
- package/content/operators/_args.md +65 -0
- package/content/operators/_array.md +331 -0
- package/content/operators/_base64.md +49 -0
- package/content/operators/_boolean.md +33 -0
- package/content/operators/_build.md +166 -0
- package/content/operators/_change_case.md +357 -0
- package/content/operators/_date.md +415 -0
- package/content/operators/_dayjs.md +128 -0
- package/content/operators/_diff.md +61 -0
- package/content/operators/_divide.md +32 -0
- package/content/operators/_eq.md +52 -0
- package/content/operators/_event.md +86 -0
- package/content/operators/_function.md +52 -0
- package/content/operators/_get.md +92 -0
- package/content/operators/_global.md +86 -0
- package/content/operators/_gt.md +50 -0
- package/content/operators/_gte.md +50 -0
- package/content/operators/_hash.md +112 -0
- package/content/operators/_if.md +30 -0
- package/content/operators/_if_none.md +47 -0
- package/content/operators/_index.md +48 -0
- package/content/operators/_input.md +86 -0
- package/content/operators/_intl.md +135 -0
- package/content/operators/_item.md +166 -0
- package/content/operators/_js.md +113 -0
- package/content/operators/_json.md +120 -0
- package/content/operators/_jsonata.md +152 -0
- package/content/operators/_locale.md +65 -0
- package/content/operators/_location.md +40 -0
- package/content/operators/_log.md +22 -0
- package/content/operators/_lt.md +50 -0
- package/content/operators/_lte.md +50 -0
- package/content/operators/_math.md +407 -0
- package/content/operators/_media.md +83 -0
- package/content/operators/_menu.md +62 -0
- package/content/operators/_module.md +340 -0
- package/content/operators/_mql.md +95 -0
- package/content/operators/_ne.md +62 -0
- package/content/operators/_not.md +33 -0
- package/content/operators/_number.md +159 -0
- package/content/operators/_nunjucks.md +117 -0
- package/content/operators/_object.md +253 -0
- package/content/operators/_operator.md +33 -0
- package/content/operators/_or.md +67 -0
- package/content/operators/_product.md +45 -0
- package/content/operators/_random.md +90 -0
- package/content/operators/_ref.md +80 -0
- package/content/operators/_regex.md +69 -0
- package/content/operators/_request.md +35 -0
- package/content/operators/_request_details.md +29 -0
- package/content/operators/_secret.md +56 -0
- package/content/operators/_state.md +134 -0
- package/content/operators/_step.md +98 -0
- package/content/operators/_string.md +327 -0
- package/content/operators/_subtract.md +24 -0
- package/content/operators/_sum.md +45 -0
- package/content/operators/_switch.md +37 -0
- package/content/operators/_t.md +96 -0
- package/content/operators/_theme.md +65 -0
- package/content/operators/_type.md +78 -0
- package/content/operators/_uri.md +49 -0
- package/content/operators/_url_query.md +92 -0
- package/content/operators/_user.md +154 -0
- package/content/operators/_uuid.md +118 -0
- package/content/operators/_var.md +88 -0
- package/content/operators/_yaml.md +96 -0
- package/content/other/introduction.md +39 -0
- package/content/other/next-auth-providers.md +3 -0
- package/content/other/updatesession.md +26 -0
- package/content/plugins/plugins-actions.md +80 -0
- package/content/plugins/plugins-connections.md +98 -0
- package/content/plugins/plugins-dev.md +138 -0
- package/content/plugins/plugins-introduction.md +29 -0
- package/content/plugins/plugins-operators.md +71 -0
- package/content/testing/e2e-auth.md +108 -0
- package/content/testing/e2e-configuration.md +107 -0
- package/content/testing/e2e-getting-started.md +96 -0
- package/content/testing/e2e-introduction.md +53 -0
- package/content/testing/e2e-mocking.md +155 -0
- package/content/testing/e2e-writing-tests.md +214 -0
- package/content/tutorial/tutorial-actions-operators.md +222 -0
- package/content/tutorial/tutorial-add-blocks.md +86 -0
- package/content/tutorial/tutorial-create-page.md +57 -0
- package/content/tutorial/tutorial-display-data-page.md +181 -0
- package/content/tutorial/tutorial-next-steps.md +53 -0
- package/content/tutorial/tutorial-requests-sql.md +22 -0
- package/content/tutorial/tutorial-start.md +71 -0
- package/content/user-authentication/auth-providers.md +15 -0
- package/content/user-authentication/login-and-logout.md +122 -0
- package/content/user-authentication/users-introduction.md +31 -0
- package/index.json +2281 -0
- package/package.json +34 -0
- package/scripts/extractAgentDocs.js +130 -0
|
@@ -0,0 +1,820 @@
|
|
|
1
|
+
# RadioSelector
|
|
2
|
+
|
|
3
|
+
Radio group for selecting a single option.
|
|
4
|
+
|
|
5
|
+
```yaml
|
|
6
|
+
- id: basic_label_value
|
|
7
|
+
type: RadioSelector
|
|
8
|
+
properties:
|
|
9
|
+
title: Favorite Color
|
|
10
|
+
options:
|
|
11
|
+
- label: Red
|
|
12
|
+
value: red
|
|
13
|
+
- label: Green
|
|
14
|
+
value: green
|
|
15
|
+
- label: Blue
|
|
16
|
+
value: blue
|
|
17
|
+
- label: Yellow
|
|
18
|
+
value: yellow
|
|
19
|
+
- id: basic_string_options
|
|
20
|
+
type: RadioSelector
|
|
21
|
+
properties:
|
|
22
|
+
title: Shirt Size
|
|
23
|
+
options:
|
|
24
|
+
- XS
|
|
25
|
+
- S
|
|
26
|
+
- M
|
|
27
|
+
- L
|
|
28
|
+
- XL
|
|
29
|
+
- id: basic_number_options
|
|
30
|
+
type: RadioSelector
|
|
31
|
+
properties:
|
|
32
|
+
title: Quantity
|
|
33
|
+
options:
|
|
34
|
+
- 1
|
|
35
|
+
- 2
|
|
36
|
+
- 5
|
|
37
|
+
- 10
|
|
38
|
+
- 25
|
|
39
|
+
- id: basic_boolean_options
|
|
40
|
+
type: RadioSelector
|
|
41
|
+
properties:
|
|
42
|
+
title: Agreement
|
|
43
|
+
options:
|
|
44
|
+
- label: Yes
|
|
45
|
+
value: true
|
|
46
|
+
- label: No
|
|
47
|
+
value: false
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
```yaml
|
|
51
|
+
- id: horizontal_default
|
|
52
|
+
type: RadioSelector
|
|
53
|
+
properties:
|
|
54
|
+
title: Horizontal (Default)
|
|
55
|
+
direction: horizontal
|
|
56
|
+
options:
|
|
57
|
+
- label: Option A
|
|
58
|
+
value: a
|
|
59
|
+
- label: Option B
|
|
60
|
+
value: b
|
|
61
|
+
- label: Option C
|
|
62
|
+
value: c
|
|
63
|
+
- label: Option D
|
|
64
|
+
value: d
|
|
65
|
+
- id: horizontal_many
|
|
66
|
+
type: RadioSelector
|
|
67
|
+
properties:
|
|
68
|
+
title: Many Horizontal Options (Wrapping)
|
|
69
|
+
direction: horizontal
|
|
70
|
+
wrap: true
|
|
71
|
+
options:
|
|
72
|
+
- Monday
|
|
73
|
+
- Tuesday
|
|
74
|
+
- Wednesday
|
|
75
|
+
- Thursday
|
|
76
|
+
- Friday
|
|
77
|
+
- Saturday
|
|
78
|
+
- Sunday
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
```yaml
|
|
82
|
+
- id: vertical_radio
|
|
83
|
+
type: RadioSelector
|
|
84
|
+
properties:
|
|
85
|
+
title: Vertical Layout
|
|
86
|
+
direction: vertical
|
|
87
|
+
options:
|
|
88
|
+
- label: Express Shipping (1-2 days)
|
|
89
|
+
value: express
|
|
90
|
+
- label: Standard Shipping (5-7 days)
|
|
91
|
+
value: standard
|
|
92
|
+
- label: Economy Shipping (10-14 days)
|
|
93
|
+
value: economy
|
|
94
|
+
- id: vertical_with_disabled
|
|
95
|
+
type: RadioSelector
|
|
96
|
+
properties:
|
|
97
|
+
title: Subscription Plan
|
|
98
|
+
direction: vertical
|
|
99
|
+
options:
|
|
100
|
+
- label: Free Tier
|
|
101
|
+
value: free
|
|
102
|
+
- label: Pro ($9/mo)
|
|
103
|
+
value: pro
|
|
104
|
+
- label: Enterprise (Contact Sales)
|
|
105
|
+
value: enterprise
|
|
106
|
+
disabled: true
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
```yaml
|
|
110
|
+
- id: wrap_enabled
|
|
111
|
+
type: RadioSelector
|
|
112
|
+
properties:
|
|
113
|
+
title: Wrap Enabled (Default)
|
|
114
|
+
direction: horizontal
|
|
115
|
+
wrap: true
|
|
116
|
+
options:
|
|
117
|
+
- January
|
|
118
|
+
- February
|
|
119
|
+
- March
|
|
120
|
+
- April
|
|
121
|
+
- May
|
|
122
|
+
- June
|
|
123
|
+
- July
|
|
124
|
+
- August
|
|
125
|
+
- September
|
|
126
|
+
- October
|
|
127
|
+
- November
|
|
128
|
+
- December
|
|
129
|
+
- id: wrap_disabled
|
|
130
|
+
type: RadioSelector
|
|
131
|
+
properties:
|
|
132
|
+
title: Wrap Disabled
|
|
133
|
+
direction: horizontal
|
|
134
|
+
wrap: false
|
|
135
|
+
options:
|
|
136
|
+
- January
|
|
137
|
+
- February
|
|
138
|
+
- March
|
|
139
|
+
- April
|
|
140
|
+
- May
|
|
141
|
+
- June
|
|
142
|
+
- July
|
|
143
|
+
- August
|
|
144
|
+
- September
|
|
145
|
+
- October
|
|
146
|
+
- November
|
|
147
|
+
- December
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
```yaml
|
|
151
|
+
- id: align_start
|
|
152
|
+
type: RadioSelector
|
|
153
|
+
properties:
|
|
154
|
+
title: Start Alignment (Default)
|
|
155
|
+
align: start
|
|
156
|
+
direction: vertical
|
|
157
|
+
options:
|
|
158
|
+
- Apple
|
|
159
|
+
- Banana
|
|
160
|
+
- Cherry
|
|
161
|
+
- id: align_center
|
|
162
|
+
type: RadioSelector
|
|
163
|
+
properties:
|
|
164
|
+
title: Center Alignment
|
|
165
|
+
align: center
|
|
166
|
+
direction: vertical
|
|
167
|
+
options:
|
|
168
|
+
- Apple
|
|
169
|
+
- Banana
|
|
170
|
+
- Cherry
|
|
171
|
+
- id: align_end
|
|
172
|
+
type: RadioSelector
|
|
173
|
+
properties:
|
|
174
|
+
title: End Alignment
|
|
175
|
+
align: end
|
|
176
|
+
direction: vertical
|
|
177
|
+
options:
|
|
178
|
+
- Apple
|
|
179
|
+
- Banana
|
|
180
|
+
- Cherry
|
|
181
|
+
- id: align_baseline
|
|
182
|
+
type: RadioSelector
|
|
183
|
+
properties:
|
|
184
|
+
title: Baseline Alignment
|
|
185
|
+
align: baseline
|
|
186
|
+
direction: horizontal
|
|
187
|
+
options:
|
|
188
|
+
- Apple
|
|
189
|
+
- Banana
|
|
190
|
+
- Cherry
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
```yaml
|
|
194
|
+
- id: color_green
|
|
195
|
+
type: RadioSelector
|
|
196
|
+
properties:
|
|
197
|
+
title: Green
|
|
198
|
+
color: "#52c41a"
|
|
199
|
+
options:
|
|
200
|
+
- label: Approved
|
|
201
|
+
value: approved
|
|
202
|
+
- label: Pending
|
|
203
|
+
value: pending
|
|
204
|
+
- label: Rejected
|
|
205
|
+
value: rejected
|
|
206
|
+
- id: color_orange
|
|
207
|
+
type: RadioSelector
|
|
208
|
+
properties:
|
|
209
|
+
title: Orange
|
|
210
|
+
color: "#fa8c16"
|
|
211
|
+
options:
|
|
212
|
+
- label: Low
|
|
213
|
+
value: low
|
|
214
|
+
- label: Medium
|
|
215
|
+
value: medium
|
|
216
|
+
- label: High
|
|
217
|
+
value: high
|
|
218
|
+
- id: color_purple
|
|
219
|
+
type: RadioSelector
|
|
220
|
+
properties:
|
|
221
|
+
title: Purple
|
|
222
|
+
color: "#722ed1"
|
|
223
|
+
options:
|
|
224
|
+
- label: Bronze
|
|
225
|
+
value: bronze
|
|
226
|
+
- label: Silver
|
|
227
|
+
value: silver
|
|
228
|
+
- label: Gold
|
|
229
|
+
value: gold
|
|
230
|
+
- id: color_red
|
|
231
|
+
type: RadioSelector
|
|
232
|
+
properties:
|
|
233
|
+
title: Red
|
|
234
|
+
color: "#f5222d"
|
|
235
|
+
options:
|
|
236
|
+
- label: Critical
|
|
237
|
+
value: critical
|
|
238
|
+
- label: Warning
|
|
239
|
+
value: warning
|
|
240
|
+
- label: Info
|
|
241
|
+
value: info
|
|
242
|
+
- id: color_hex_custom
|
|
243
|
+
type: RadioSelector
|
|
244
|
+
properties:
|
|
245
|
+
title: Custom Hex (#e64980)
|
|
246
|
+
color: "#e64980"
|
|
247
|
+
options:
|
|
248
|
+
- label: Option 1
|
|
249
|
+
value: opt1
|
|
250
|
+
- label: Option 2
|
|
251
|
+
value: opt2
|
|
252
|
+
- label: Option 3
|
|
253
|
+
value: opt3
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
```yaml
|
|
257
|
+
- id: disabled_all
|
|
258
|
+
type: RadioSelector
|
|
259
|
+
properties:
|
|
260
|
+
title: All Options Disabled
|
|
261
|
+
disabled: true
|
|
262
|
+
options:
|
|
263
|
+
- label: Option A
|
|
264
|
+
value: a
|
|
265
|
+
- label: Option B
|
|
266
|
+
value: b
|
|
267
|
+
- label: Option C
|
|
268
|
+
value: c
|
|
269
|
+
- id: disabled_vertical
|
|
270
|
+
type: RadioSelector
|
|
271
|
+
properties:
|
|
272
|
+
title: Disabled Vertical
|
|
273
|
+
disabled: true
|
|
274
|
+
direction: vertical
|
|
275
|
+
options:
|
|
276
|
+
- label: Small
|
|
277
|
+
value: small
|
|
278
|
+
- label: Medium
|
|
279
|
+
value: medium
|
|
280
|
+
- label: Large
|
|
281
|
+
value: large
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
```yaml
|
|
285
|
+
- id: disabled_single_option
|
|
286
|
+
type: RadioSelector
|
|
287
|
+
properties:
|
|
288
|
+
title: One Disabled Option
|
|
289
|
+
options:
|
|
290
|
+
- label: Available
|
|
291
|
+
value: available
|
|
292
|
+
- label: Out of Stock
|
|
293
|
+
value: out_of_stock
|
|
294
|
+
disabled: true
|
|
295
|
+
- label: In Stock
|
|
296
|
+
value: in_stock
|
|
297
|
+
- id: disabled_multiple_options
|
|
298
|
+
type: RadioSelector
|
|
299
|
+
properties:
|
|
300
|
+
title: Multiple Disabled Options
|
|
301
|
+
options:
|
|
302
|
+
- label: Standard
|
|
303
|
+
value: standard
|
|
304
|
+
- label: Premium (Sold Out)
|
|
305
|
+
value: premium
|
|
306
|
+
disabled: true
|
|
307
|
+
- label: Enterprise (Coming Soon)
|
|
308
|
+
value: enterprise
|
|
309
|
+
disabled: true
|
|
310
|
+
- label: Basic
|
|
311
|
+
value: basic
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
```yaml
|
|
315
|
+
- id: styled_options
|
|
316
|
+
type: RadioSelector
|
|
317
|
+
properties:
|
|
318
|
+
title: Custom Option Styles
|
|
319
|
+
options:
|
|
320
|
+
- label: <b>Bold Label</b>
|
|
321
|
+
value: bold
|
|
322
|
+
style:
|
|
323
|
+
fontWeight: bold
|
|
324
|
+
- label: Highlighted
|
|
325
|
+
value: highlighted
|
|
326
|
+
style:
|
|
327
|
+
padding: 2px 8px
|
|
328
|
+
borderRadius: 4
|
|
329
|
+
- label: Italic
|
|
330
|
+
value: italic
|
|
331
|
+
style:
|
|
332
|
+
fontStyle: italic
|
|
333
|
+
- id: styled_colored_labels
|
|
334
|
+
type: RadioSelector
|
|
335
|
+
properties:
|
|
336
|
+
title: Colored Labels
|
|
337
|
+
options:
|
|
338
|
+
- label: '<span style="color: #52c41a;">Success</span>'
|
|
339
|
+
value: success
|
|
340
|
+
- label: '<span style="color: #faad14;">Warning</span>'
|
|
341
|
+
value: warning
|
|
342
|
+
- label: '<span style="color: #ff4d4f;">Error</span>'
|
|
343
|
+
value: error
|
|
344
|
+
- label: '<span style="color: #1677ff;">Info</span>'
|
|
345
|
+
value: info
|
|
346
|
+
- id: styled_vertical_cards
|
|
347
|
+
type: RadioSelector
|
|
348
|
+
properties:
|
|
349
|
+
title: Styled Vertical Options
|
|
350
|
+
direction: vertical
|
|
351
|
+
options:
|
|
352
|
+
- label: Free Plan
|
|
353
|
+
value: free
|
|
354
|
+
style:
|
|
355
|
+
padding: 4px 12px
|
|
356
|
+
borderRadius: 6
|
|
357
|
+
marginBottom: 4
|
|
358
|
+
- label: Pro Plan
|
|
359
|
+
value: pro
|
|
360
|
+
style:
|
|
361
|
+
padding: 4px 12px
|
|
362
|
+
borderRadius: 6
|
|
363
|
+
marginBottom: 4
|
|
364
|
+
- label: Enterprise Plan
|
|
365
|
+
value: enterprise
|
|
366
|
+
style:
|
|
367
|
+
padding: 4px 12px
|
|
368
|
+
borderRadius: 6
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
```yaml
|
|
372
|
+
- id: html_bold_labels
|
|
373
|
+
type: RadioSelector
|
|
374
|
+
properties:
|
|
375
|
+
title: HTML in Labels
|
|
376
|
+
options:
|
|
377
|
+
- label: <b>Important</b> option
|
|
378
|
+
value: important
|
|
379
|
+
- label: Normal option
|
|
380
|
+
value: normal
|
|
381
|
+
- label: <i>Italic</i> option
|
|
382
|
+
value: italic
|
|
383
|
+
- id: html_rich_labels
|
|
384
|
+
type: RadioSelector
|
|
385
|
+
properties:
|
|
386
|
+
title: Rich HTML Labels
|
|
387
|
+
direction: vertical
|
|
388
|
+
options:
|
|
389
|
+
- label: <b>Starter</b> — Basic features for individuals
|
|
390
|
+
value: starter
|
|
391
|
+
- label: <b>Professional</b> — Advanced features for teams
|
|
392
|
+
value: professional
|
|
393
|
+
- label: <b>Enterprise</b> — Custom solutions for organizations
|
|
394
|
+
value: enterprise
|
|
395
|
+
```
|
|
396
|
+
|
|
397
|
+
```yaml
|
|
398
|
+
- id: label_default
|
|
399
|
+
type: RadioSelector
|
|
400
|
+
properties:
|
|
401
|
+
title: Default Label
|
|
402
|
+
options:
|
|
403
|
+
- Yes
|
|
404
|
+
- No
|
|
405
|
+
- Maybe
|
|
406
|
+
- id: label_with_extra
|
|
407
|
+
type: RadioSelector
|
|
408
|
+
properties:
|
|
409
|
+
title: Label with Extra
|
|
410
|
+
label:
|
|
411
|
+
extra: Select the option that best describes your preference.
|
|
412
|
+
options:
|
|
413
|
+
- label: Strongly Agree
|
|
414
|
+
value: strongly_agree
|
|
415
|
+
- label: Agree
|
|
416
|
+
value: agree
|
|
417
|
+
- label: Neutral
|
|
418
|
+
value: neutral
|
|
419
|
+
- label: Disagree
|
|
420
|
+
value: disagree
|
|
421
|
+
- id: label_colon_false
|
|
422
|
+
type: RadioSelector
|
|
423
|
+
properties:
|
|
424
|
+
title: Label Without Colon
|
|
425
|
+
label:
|
|
426
|
+
colon: false
|
|
427
|
+
options:
|
|
428
|
+
- Option A
|
|
429
|
+
- Option B
|
|
430
|
+
- Option C
|
|
431
|
+
- id: label_inline
|
|
432
|
+
type: RadioSelector
|
|
433
|
+
properties:
|
|
434
|
+
title: Inline Label
|
|
435
|
+
label:
|
|
436
|
+
inline: true
|
|
437
|
+
span: 8
|
|
438
|
+
options:
|
|
439
|
+
- label: Left
|
|
440
|
+
value: left
|
|
441
|
+
- label: Center
|
|
442
|
+
value: center
|
|
443
|
+
- label: Right
|
|
444
|
+
value: right
|
|
445
|
+
- id: label_right_align
|
|
446
|
+
type: RadioSelector
|
|
447
|
+
properties:
|
|
448
|
+
title: Right Aligned Label
|
|
449
|
+
label:
|
|
450
|
+
inline: true
|
|
451
|
+
span: 8
|
|
452
|
+
align: right
|
|
453
|
+
options:
|
|
454
|
+
- label: Small
|
|
455
|
+
value: sm
|
|
456
|
+
- label: Medium
|
|
457
|
+
value: md
|
|
458
|
+
- label: Large
|
|
459
|
+
value: lg
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
```yaml
|
|
463
|
+
- id: no_label_radio
|
|
464
|
+
type: RadioSelector
|
|
465
|
+
properties:
|
|
466
|
+
label:
|
|
467
|
+
disabled: true
|
|
468
|
+
options:
|
|
469
|
+
- label: Yes
|
|
470
|
+
value: true
|
|
471
|
+
- label: No
|
|
472
|
+
value: false
|
|
473
|
+
- label: Maybe
|
|
474
|
+
value: maybe
|
|
475
|
+
- id: no_label_vertical
|
|
476
|
+
type: RadioSelector
|
|
477
|
+
properties:
|
|
478
|
+
label:
|
|
479
|
+
disabled: true
|
|
480
|
+
direction: vertical
|
|
481
|
+
options:
|
|
482
|
+
- label: Daily digest
|
|
483
|
+
value: daily
|
|
484
|
+
- label: Weekly summary
|
|
485
|
+
value: weekly
|
|
486
|
+
- label: No emails
|
|
487
|
+
value: none
|
|
488
|
+
```
|
|
489
|
+
|
|
490
|
+
```yaml
|
|
491
|
+
- id: style_border
|
|
492
|
+
type: RadioSelector
|
|
493
|
+
style:
|
|
494
|
+
.element:
|
|
495
|
+
border: 1px solid
|
|
496
|
+
borderRadius: 8
|
|
497
|
+
padding: 16
|
|
498
|
+
properties:
|
|
499
|
+
title: Bordered Container
|
|
500
|
+
label:
|
|
501
|
+
disabled: true
|
|
502
|
+
options:
|
|
503
|
+
- label: Option A
|
|
504
|
+
value: a
|
|
505
|
+
- label: Option B
|
|
506
|
+
value: b
|
|
507
|
+
- label: Option C
|
|
508
|
+
value: c
|
|
509
|
+
- id: style_background
|
|
510
|
+
type: RadioSelector
|
|
511
|
+
style:
|
|
512
|
+
.element:
|
|
513
|
+
padding: 12
|
|
514
|
+
borderRadius: 6
|
|
515
|
+
properties:
|
|
516
|
+
title: Custom Background
|
|
517
|
+
label:
|
|
518
|
+
disabled: true
|
|
519
|
+
options:
|
|
520
|
+
- label: React
|
|
521
|
+
value: react
|
|
522
|
+
- label: Vue
|
|
523
|
+
value: vue
|
|
524
|
+
- label: Angular
|
|
525
|
+
value: angular
|
|
526
|
+
- id: class_override
|
|
527
|
+
type: RadioSelector
|
|
528
|
+
class: p-4 rounded-lg shadow-sm border
|
|
529
|
+
properties:
|
|
530
|
+
title: With Tailwind Class
|
|
531
|
+
label:
|
|
532
|
+
disabled: true
|
|
533
|
+
options:
|
|
534
|
+
- label: Light Mode
|
|
535
|
+
value: light
|
|
536
|
+
- label: Dark Mode
|
|
537
|
+
value: dark
|
|
538
|
+
- label: System
|
|
539
|
+
value: system
|
|
540
|
+
```
|
|
541
|
+
|
|
542
|
+
```yaml
|
|
543
|
+
- id: theme_large_radio
|
|
544
|
+
type: RadioSelector
|
|
545
|
+
properties:
|
|
546
|
+
title: Large Radio Buttons
|
|
547
|
+
theme:
|
|
548
|
+
radioSize: 20
|
|
549
|
+
dotSize: 10
|
|
550
|
+
options:
|
|
551
|
+
- label: Option A
|
|
552
|
+
value: a
|
|
553
|
+
- label: Option B
|
|
554
|
+
value: b
|
|
555
|
+
- label: Option C
|
|
556
|
+
value: c
|
|
557
|
+
- id: theme_custom_colors
|
|
558
|
+
type: RadioSelector
|
|
559
|
+
properties:
|
|
560
|
+
title: Custom Theme Colors
|
|
561
|
+
theme:
|
|
562
|
+
colorPrimary: "#722ed1"
|
|
563
|
+
colorBorder: "#d3adf7"
|
|
564
|
+
options:
|
|
565
|
+
- label: Purple A
|
|
566
|
+
value: a
|
|
567
|
+
- label: Purple B
|
|
568
|
+
value: b
|
|
569
|
+
- label: Purple C
|
|
570
|
+
value: c
|
|
571
|
+
- id: theme_spacing
|
|
572
|
+
type: RadioSelector
|
|
573
|
+
properties:
|
|
574
|
+
title: Wide Spacing
|
|
575
|
+
theme:
|
|
576
|
+
wrapperMarginInlineEnd: 24
|
|
577
|
+
options:
|
|
578
|
+
- label: Spaced A
|
|
579
|
+
value: a
|
|
580
|
+
- label: Spaced B
|
|
581
|
+
value: b
|
|
582
|
+
- label: Spaced C
|
|
583
|
+
value: c
|
|
584
|
+
- id: theme_combined
|
|
585
|
+
type: RadioSelector
|
|
586
|
+
properties:
|
|
587
|
+
title: Combined Token Overrides
|
|
588
|
+
theme:
|
|
589
|
+
radioSize: 22
|
|
590
|
+
dotSize: 12
|
|
591
|
+
colorPrimary: "#eb2f96"
|
|
592
|
+
wrapperMarginInlineEnd: 20
|
|
593
|
+
options:
|
|
594
|
+
- label: Pink A
|
|
595
|
+
value: a
|
|
596
|
+
- label: Pink B
|
|
597
|
+
value: b
|
|
598
|
+
- label: Pink C
|
|
599
|
+
value: c
|
|
600
|
+
- id: theme_green
|
|
601
|
+
type: RadioSelector
|
|
602
|
+
properties:
|
|
603
|
+
title: Green Theme
|
|
604
|
+
direction: vertical
|
|
605
|
+
theme:
|
|
606
|
+
colorPrimary: "#52c41a"
|
|
607
|
+
radioSize: 18
|
|
608
|
+
dotSize: 8
|
|
609
|
+
options:
|
|
610
|
+
- label: Approved
|
|
611
|
+
value: approved
|
|
612
|
+
- label: Pending Review
|
|
613
|
+
value: pending
|
|
614
|
+
- label: Rejected
|
|
615
|
+
value: rejected
|
|
616
|
+
```
|
|
617
|
+
|
|
618
|
+
```yaml
|
|
619
|
+
- id: object_values
|
|
620
|
+
type: RadioSelector
|
|
621
|
+
properties:
|
|
622
|
+
title: Object Values
|
|
623
|
+
direction: vertical
|
|
624
|
+
options:
|
|
625
|
+
- label: Admin (Full Access)
|
|
626
|
+
value:
|
|
627
|
+
role: admin
|
|
628
|
+
level: 3
|
|
629
|
+
- label: Editor (Read/Write)
|
|
630
|
+
value:
|
|
631
|
+
role: editor
|
|
632
|
+
level: 2
|
|
633
|
+
- label: Viewer (Read Only)
|
|
634
|
+
value:
|
|
635
|
+
role: viewer
|
|
636
|
+
level: 1
|
|
637
|
+
- id: mixed_disabled_styled
|
|
638
|
+
type: RadioSelector
|
|
639
|
+
properties:
|
|
640
|
+
title: Mixed Disabled and Styled
|
|
641
|
+
direction: vertical
|
|
642
|
+
options:
|
|
643
|
+
- label: <b>Recommended:</b> Standard Plan
|
|
644
|
+
value: standard
|
|
645
|
+
style:
|
|
646
|
+
padding: 4px 12px
|
|
647
|
+
borderRadius: 4
|
|
648
|
+
- label: Basic Plan
|
|
649
|
+
value: basic
|
|
650
|
+
- label: Legacy Plan (Discontinued)
|
|
651
|
+
value: legacy
|
|
652
|
+
disabled: true
|
|
653
|
+
style:
|
|
654
|
+
textDecoration: line-through
|
|
655
|
+
```
|
|
656
|
+
|
|
657
|
+
```yaml
|
|
658
|
+
- id: example_payment
|
|
659
|
+
type: RadioSelector
|
|
660
|
+
properties:
|
|
661
|
+
title: Payment Method
|
|
662
|
+
direction: vertical
|
|
663
|
+
options:
|
|
664
|
+
- label: <b>Credit Card</b> — Visa, Mastercard, Amex
|
|
665
|
+
value: credit_card
|
|
666
|
+
- label: <b>PayPal</b> — Pay with your PayPal account
|
|
667
|
+
value: paypal
|
|
668
|
+
- label: <b>Bank Transfer</b> — Direct bank payment
|
|
669
|
+
value: bank_transfer
|
|
670
|
+
- label: <b>Crypto</b> — Bitcoin, Ethereum
|
|
671
|
+
value: crypto
|
|
672
|
+
disabled: true
|
|
673
|
+
- id: example_frequency
|
|
674
|
+
type: RadioSelector
|
|
675
|
+
properties:
|
|
676
|
+
title: Notification Frequency
|
|
677
|
+
color: "#1677ff"
|
|
678
|
+
options:
|
|
679
|
+
- label: Instant
|
|
680
|
+
value: instant
|
|
681
|
+
- label: Hourly
|
|
682
|
+
value: hourly
|
|
683
|
+
- label: Daily
|
|
684
|
+
value: daily
|
|
685
|
+
- label: Weekly
|
|
686
|
+
value: weekly
|
|
687
|
+
- label: Never
|
|
688
|
+
value: never
|
|
689
|
+
- id: example_rating
|
|
690
|
+
type: RadioSelector
|
|
691
|
+
properties:
|
|
692
|
+
title: Satisfaction Rating
|
|
693
|
+
direction: horizontal
|
|
694
|
+
color: "#faad14"
|
|
695
|
+
options:
|
|
696
|
+
- label: "⭐ 1"
|
|
697
|
+
value: 1
|
|
698
|
+
- label: "⭐ 2"
|
|
699
|
+
value: 2
|
|
700
|
+
- label: "⭐ 3"
|
|
701
|
+
value: 3
|
|
702
|
+
- label: "⭐ 4"
|
|
703
|
+
value: 4
|
|
704
|
+
- label: "⭐ 5"
|
|
705
|
+
value: 5
|
|
706
|
+
- id: example_priority
|
|
707
|
+
type: RadioSelector
|
|
708
|
+
properties:
|
|
709
|
+
title: Task Priority
|
|
710
|
+
direction: vertical
|
|
711
|
+
options:
|
|
712
|
+
- label: '<span style="color: #ff4d4f;">🔴 Critical</span>'
|
|
713
|
+
value: critical
|
|
714
|
+
- label: '<span style="color: #fa8c16;">🟠 High</span>'
|
|
715
|
+
value: high
|
|
716
|
+
- label: '<span style="color: #faad14;">🟡 Medium</span>'
|
|
717
|
+
value: medium
|
|
718
|
+
- label: '<span style="color: #52c41a;">🟢 Low</span>'
|
|
719
|
+
value: low
|
|
720
|
+
```
|
|
721
|
+
|
|
722
|
+
```yaml
|
|
723
|
+
- id: radio_per_option_color
|
|
724
|
+
type: RadioSelector
|
|
725
|
+
properties:
|
|
726
|
+
title: Selected dot + label in its option color
|
|
727
|
+
options:
|
|
728
|
+
- label: Low
|
|
729
|
+
value: low
|
|
730
|
+
color: "#16a34a"
|
|
731
|
+
- label: Medium
|
|
732
|
+
value: medium
|
|
733
|
+
color: "#d97706"
|
|
734
|
+
- label: High
|
|
735
|
+
value: high
|
|
736
|
+
color: "#dc2626"
|
|
737
|
+
```
|
|
738
|
+
|
|
739
|
+
```yaml
|
|
740
|
+
- id: data_radio_selector
|
|
741
|
+
type: RadioSelector
|
|
742
|
+
properties:
|
|
743
|
+
title: Notify by
|
|
744
|
+
data:
|
|
745
|
+
- id: 1
|
|
746
|
+
name: Email
|
|
747
|
+
- id: 2
|
|
748
|
+
name: SMS
|
|
749
|
+
- id: 3
|
|
750
|
+
name: Push
|
|
751
|
+
html: "{{ item.name }}"
|
|
752
|
+
valueKey: id
|
|
753
|
+
```
|
|
754
|
+
|
|
755
|
+
| Property | Type | Default | Description |
|
|
756
|
+
| --- | --- | --- | --- |
|
|
757
|
+
| `align` | string | `"start"` | Align options. Enum: `start`, `end`, `center`, `baseline`. |
|
|
758
|
+
| `color` | string | - | Selected radio color. |
|
|
759
|
+
| `disabled` | boolean | `false` | Disable the block if true. |
|
|
760
|
+
| `direction` | string | `"horizontal"` | List options horizontally or vertical. Enum: `horizontal`, `vertical`. |
|
|
761
|
+
| `wrap` | boolean | `true` | Specifies wrapping of options. Applies when 'direction' is 'horizontal'. |
|
|
762
|
+
| `label` | object | - | Label properties. |
|
|
763
|
+
| `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
|
|
764
|
+
| `label.colon` | boolean | `true` | Append label with colon. |
|
|
765
|
+
| `label.extra` | string | - | Extra text to display beneath the content - supports html. |
|
|
766
|
+
| `label.title` | string | - | Label title - supports html. |
|
|
767
|
+
| `label.tooltip` | string \| object | - | Help tooltip shown via an icon beside the label. A string sets the tooltip text (supports html), or an object to also customize the icon and color. Use the block's onTooltipClick event to respond to clicks on the icon. |
|
|
768
|
+
| `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
|
|
769
|
+
| `label.tooltip.icon` | string | `"AiOutlineQuestionCircle"` | Name of the icon to show beside the label. |
|
|
770
|
+
| `label.tooltip.color` | string | - | Color of the tooltip icon. |
|
|
771
|
+
| `label.span` | number | - | Label inline span. |
|
|
772
|
+
| `label.disabled` | boolean | `false` | Hide input label. |
|
|
773
|
+
| `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
|
|
774
|
+
| `label.inline` | boolean | `false` | Render input and label inline. |
|
|
775
|
+
| `options` | array | `[]` | Options can either be an array of primitive values, on an array of label, value pairs - supports html. |
|
|
776
|
+
| `options.$.label` | string | - | Value label shown to user - supports html. |
|
|
777
|
+
| `options.$.value` | string \| number \| boolean | - | Option value. |
|
|
778
|
+
| `options.$.disabled` | boolean | `false` | Disable the option if true. |
|
|
779
|
+
| `options.$.style` | object | - | Css style to apply to the option. |
|
|
780
|
+
| `options.$.color` | string | - | Color applied to this option when it is selected. Falls back to the block-level color when not set. |
|
|
781
|
+
| `data` | array | - | Alternative to `options`: an array of raw rows. Each row is rendered to a label with the `html` template, and `valueKey` selects which field becomes the value. Use this to drive a selector directly from data without building label/value pairs in your request. |
|
|
782
|
+
| `html` | string | - | Nunjucks template that renders each option label when using `data`. The context exposes `item` (the current row) and `index` (the zero-based row index). Ignored when `options` is used. |
|
|
783
|
+
| `valueKey` | string | - | Field used as the selected value. With `options` it names the value field (defaults to "value"). With `data` it names the field stored when an option is selected; omit it to store the whole row. Supports dotted paths (e.g. "user.id"). |
|
|
784
|
+
| `primaryKey` | string | - | Field used to match the current value (e.g. set with SetState) back to an option for highlighting. Defaults to `valueKey`. Set this when the stored value is the whole row but a single field (e.g. "id") uniquely identifies it. In the tree selectors it also serves as each node’s id, referenced by `parentKey`. Supports dotted paths. |
|
|
785
|
+
| `title` | string | - | Title to describe the input component, if no title is specified the block id is displayed - supports html. |
|
|
786
|
+
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design radio tokens](https://ant.design/components/radio#design-token). |
|
|
787
|
+
| `theme.radioSize` | number | `16` | Size of the radio button circle. |
|
|
788
|
+
| `theme.dotSize` | number | `6` | Size of the inner dot indicator. |
|
|
789
|
+
| `theme.dotColorDisabled` | string | `"rgba(0, 0, 0, 0.25)"` | Dot color when the radio is disabled. |
|
|
790
|
+
| `theme.colorPrimary` | string | - | Primary color for the selected radio button. |
|
|
791
|
+
| `theme.colorBorder` | string | - | Border color of the radio button circle. |
|
|
792
|
+
| `theme.colorBgContainer` | string | - | Background color of the radio button circle. |
|
|
793
|
+
| `theme.wrapperMarginInlineEnd` | number | `8` | Right margin of the radio wrapper. |
|
|
794
|
+
| `theme.radioColor` | string | `"#fff"` | Color of the radio indicator dot when selected. |
|
|
795
|
+
| `theme.radioBgColor` | string | - | Background color of the radio circle when selected. |
|
|
796
|
+
| `theme.buttonBg` | string | `"#ffffff"` | Background color for button-style radio. |
|
|
797
|
+
| `theme.buttonCheckedBg` | string | `"#ffffff"` | Background color for checked button-style radio. |
|
|
798
|
+
| `theme.buttonColor` | string | `"rgba(0, 0, 0, 0.88)"` | Text color for button-style radio. |
|
|
799
|
+
| `theme.buttonPaddingInline` | number | `15` | Horizontal padding for button-style radio. |
|
|
800
|
+
| `theme.buttonCheckedBgDisabled` | string | `"rgba(0, 0, 0, 0.15)"` | Background color for disabled checked button-style radio. |
|
|
801
|
+
| `theme.buttonCheckedColorDisabled` | string | `"rgba(0, 0, 0, 0.25)"` | Text color for disabled checked button-style radio. |
|
|
802
|
+
| `theme.buttonSolidCheckedColor` | string | `"#fff"` | Text color for solid button-style radio when checked. |
|
|
803
|
+
| `theme.buttonSolidCheckedBg` | string | - | Background color for solid button-style radio when checked. |
|
|
804
|
+
| `theme.buttonSolidCheckedHoverBg` | string | - | Hover background for solid button-style radio when checked. |
|
|
805
|
+
| `theme.buttonSolidCheckedActiveBg` | string | - | Active background for solid button-style radio when checked. |
|
|
806
|
+
|
|
807
|
+
| Event | Event Data | Description |
|
|
808
|
+
| --- | --- | --- |
|
|
809
|
+
| `onChange` | `{ value }` | Trigger action when selection is changed. |
|
|
810
|
+
| `onTooltipClick` | \- | Trigger actions when the tooltip icon is clicked. |
|
|
811
|
+
|
|
812
|
+
| Key | Target |
|
|
813
|
+
| --- | --- |
|
|
814
|
+
| `/block` | Outer block wrapper (always available). |
|
|
815
|
+
| `/element` | The RadioSelector element. |
|
|
816
|
+
| `/label` | The RadioSelector label. |
|
|
817
|
+
| `/extra` | The RadioSelector extra content. |
|
|
818
|
+
| `/feedback` | The RadioSelector validation feedback. |
|
|
819
|
+
|
|
820
|
+
No slots defined.
|