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

Tab support on web and more #5

Closed
sunilguptasg opened this issue Dec 14, 2021 · 1 comment · Fixed by #11
Closed

Tab support on web and more #5

sunilguptasg opened this issue Dec 14, 2021 · 1 comment · Fixed by #11

Comments

@sunilguptasg
Copy link

I'm unable to get the Tab key to change focus to the next field even with including this code:

if (kIsWeb) {
document.addEventListener('keydown', (event) => {if (event.type == 'tab') event.preventDefault()});
}
Can you provide a working code snippet using the sample RegisterForm code which I am using for evaluation?

Also, there seems to be no way to configure a label. I am able to use a Text field, but this does not have the animation in other packages.

@Codeaview
Copy link
Contributor

Codeaview commented Aug 29, 2022

Hi, If I understood your question correctly, when it comes to configuring a label it can be done via props attribute on LoTextField.
ex.

LoTextField(
loKey: 'example',
...
props: TextFieldProps(
                            decoration: InputDecoration(
                                labelText: 'Label of some text field',
                                ),
                          ),
)

@YoussefRaafatNasry YoussefRaafatNasry linked a pull request Aug 31, 2022 that will close this issue
3 tasks
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 a pull request may close this issue.

3 participants