Browse Source

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 <tim.gates@iress.com>
pull/827/head
Tim Gates 2 years ago
parent
commit
c3f8f738c7
No known key found for this signature in database GPG Key ID: AE3BE0D53823CF05
1 changed files with 1 additions and 1 deletions
  1. 2
      docs/releases/1.0.8-release-notes.md

2
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

Loading…
Cancel
Save