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

Key attribute not available. #151

Closed
thiagofeijor opened this issue Oct 7, 2019 · 2 comments
Closed

Key attribute not available. #151

thiagofeijor opened this issue Oct 7, 2019 · 2 comments

Comments

@thiagofeijor
Copy link

While writing integration tests I ended up falling into a problem.

There is a recommendation to select elements using their key, but FormBuilderTextField does not allow a custom key.

Is there any way you can set the key in the future?

@danvick
Copy link
Collaborator

danvick commented Oct 22, 2019

Hi @feijodev,
Currently, there's no way of doing that. What would be the possible reason for us to consider such a scenario?

@thiagofeijor
Copy link
Author

Today, I decided to use a manager detector by placing the key on a label and setting the focus without input when receiving a click.

I saw that there are other ways around this.

But writing an e2e test is easier.

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

2 participants