2.0.1 • Published 8 months ago
@makeform/radio v2.0.1
@makeform/radio
Radio style widget for users to make one single choice between multiple options.
Configs
values: Array of string/objects for options in this widget.- when object is used, it contains following fields:
value: actual value pickedlabel: text shown for user to select
- when object is used, it contains following fields:
other: default null. An object for config ofotheroption, with following fields:enabled: default false. shouldotheroption be shown.prompt: default其它orOther. Prompt text forotheroption.
layout: defaultinline. decide how to layout options. possible values: eitherinlineorblock.
License
MIT