Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a new pressable button field #277

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

andrewbenton
Copy link

The button field is styled in a similar to a confirm field with the following differences:

  1. The title is the button's title rather than having a separate title and button label.
  2. When pressed, the button immediately executes the configured action. This is useful for executing actions that make immediate modifications to the form.
  3. When configured to be inline, the description shows up inline after the button.

The button field is styled in a similar to a confirm field with the
following differences:
1. The title is the button's title rather than having a separate title
   and button label.
2. When pressed, the button immediately executes the configured action.
3. When configured to be inline, the description shows up inline after
   the button.
@andrewbenton
Copy link
Author

Here's an example of the new button on asciinema. I couldn't find the utility that runs those .tape scripts.

asciicast

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant