From c3f8f738c7a7f2a86c02651e1822eb193049e110 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sat, 16 Jul 2022 07:46:34 +1000 Subject: [PATCH] docs: fix simple typo, argprase -> argparse There is a small typo in docs/releases/1.0.8-release-notes.md. Should read `argparse` rather than `argprase`. Signed-off-by: Tim Gates --- docs/releases/1.0.8-release-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/releases/1.0.8-release-notes.md b/docs/releases/1.0.8-release-notes.md index 66c01903..01b2a4a7 100644 --- a/docs/releases/1.0.8-release-notes.md +++ b/docs/releases/1.0.8-release-notes.md @@ -25,7 +25,7 @@ parser.add_argument('-my-arg', widget='Textarea', gooey_options=options.Textarea )) ``` -If you've been using Gooey awhile, you'll recognize that this overlaps with the current behavior of `default`. The new `initial_value` enables you to supply a truly optional seed value to the UI. When using `default`, even if the user clears your value out of the UI, argparse will add it back in when it parses the CLI string. While this is often useful behavior, it prevents certain workflows from being possible. `initial_value` let's you control the UI independent of argparse. This means you can now, for instance, set a checkbox to be checked by default in the UI, but optionally allow the user to deselect it without having argprase re-populate the 'checked' state (a behavior which comes up frequently in the issue tracker due to it being technically correct, but also very confusing!). +If you've been using Gooey awhile, you'll recognize that this overlaps with the current behavior of `default`. The new `initial_value` enables you to supply a truly optional seed value to the UI. When using `default`, even if the user clears your value out of the UI, argparse will add it back in when it parses the CLI string. While this is often useful behavior, it prevents certain workflows from being possible. `initial_value` let's you control the UI independent of argparse. This means you can now, for instance, set a checkbox to be checked by default in the UI, but optionally allow the user to deselect it without having argparse re-populate the 'checked' state (a behavior which comes up frequently in the issue tracker due to it being technically correct, but also very confusing!). ### action=version support