From d605e83c3bbf12f1fadd5c9ef2cde57c256f860c Mon Sep 17 00:00:00 2001 From: ethanalvizo <55671206+ethanalvizo@users.noreply.github.com> Date: Thu, 21 Nov 2024 22:38:46 -0500 Subject: [PATCH] Grammar fixes Co-authored-by: margaretkennedy <82049573+margaretkennedy@users.noreply.github.com> --- plugins/ui/docs/components/search_field.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/ui/docs/components/search_field.md b/plugins/ui/docs/components/search_field.md index 7407528f6..6a375207d 100644 --- a/plugins/ui/docs/components/search_field.md +++ b/plugins/ui/docs/components/search_field.md @@ -67,9 +67,9 @@ def ui_search_field_is_required_examples(): my_search_field_is_required_example = ui_search_field_is_required_examples() ``` -By setting `is_required` to True, the `necessity_indicator` is set to "icon" by default, but this can be changed. The `necessity_indicator` can also be used independently to indicate that the search field is optional. +By setting `is_required` to True, the `necessity_indicator` is set to "icon" by default. This can be changed with the `necessity_indicator` prop, which can be used independently to indicate that the search field is optional. -When the `necessity_indicator` prop is set to "label", a localized string will be generated for "(required)" or "(optional)" automatically. +When `necessity_indicator` is set to "label," a localized string will be automatically generated for "(required)" or "(optional)." ```python from deephaven import ui @@ -276,7 +276,7 @@ my_search_field_width_examples = ui_search_field_width_examples() ## Custom icon -The `icon` prop changes the icon within the search field. This can quickly indicate to the user what the field is for. The complete list of icons can be found in [`icon`](./icon.md) +The `icon` prop changes the icon within the search field. This can quickly indicate to the user what the field is for. The complete list of icons can be found in [`icon`](./icon.md). ```python