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

Form control event and validation #231

Open
hemendpatel opened this issue Apr 17, 2023 · 0 comments
Open

Form control event and validation #231

hemendpatel opened this issue Apr 17, 2023 · 0 comments

Comments

@hemendpatel
Copy link

hemendpatel commented Apr 17, 2023

Hi,

I'm trying to create terminal application using terminal-kit library. This library has all require controls and way ahead of other library in terms of performance. I'm going through each control and checking properties and event require for my application.

  1. I'm using form control to create an object of user input. I'm getting few issues to control event, validate value and set focus to individual fields of form control. How can I add event i.e., keypress or focus event to individual input control of form. Do we have an option to add validator to input control of form?.
    Anybody try to use the form control like web form control to add validation or events?

  2. Enter key is configure to focus next control in hierarchy. do we have option override key behavior? I'm new to this library so it might have many feature which I have not explored

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

No branches or pull requests

1 participant