Skip to content

Commit

Permalink
missing doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanalvizo committed Jul 12, 2024
1 parent af23cdc commit 961319f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions plugins/ui/src/deephaven/ui/components/radio_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# Validation
NecessityIndicator,
Orientation,
ValidationBehavior,
)
from .basic import component_element
from ..elements import Element
Expand All @@ -33,7 +34,7 @@ def radio_group(
name: str | None = None,
is_required: bool | None = None,
is_invalid: bool | None = None,
# validation_behaviour # omitted because validate is omitted
validation_behaviour: ValidationBehavior,
# validate, # omitted because of synchronouse return
label: Any | None = None,
description: Any | None = None,
Expand Down Expand Up @@ -108,13 +109,15 @@ def radio_group(
name: The name of the radio button, used when submitting and HTML form.
is_required: Whether the radio button is required on the input before form submission.
is_invalid: Whether the radio button is in an invalid state.
validation_behaviour: Whether to use native HTML form validation to prevent form submission when the value is missing or invalid, or mark the field as required or invalid via ARIA.
label: The content to display as the label.
description: A description for the field. Provides a hint such as specific requirements for what to choose.
error_message: An error message for the field.
label_position: The position of the label relative to the radio button.
label_align: The horizontal alignment of the label relative to the radio button.
necessity_indicator: Whether the required state should be shown as an icon or text.
contextual_help: A ContextualHelp element to place next to the label
contextual_help: A ContextualHelp element to place next to the label.
show_error_icon: Whether an error icon is rendered.
on_change: Handler that is called when the radio button value changes.
on_focus: Handler that is called when the radio button is focused.
on_blur: Handler that is called when the radio button loses focus.
Expand Down

0 comments on commit 961319f

Please sign in to comment.