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

fix: clearText action is not working as expected without an int value #369

Open
AhmedAlyDev opened this issue Nov 22, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@AhmedAlyDev
Copy link

AhmedAlyDev commented Nov 22, 2023

Description

clearText action is expecting a value of type 'int', but got one of type 'Null', while docs say that it's default is to clear all chars.

Steps To Reproduce

  1. create a flow
  2. press On a non-empty text field
  3. clearText: without a value "as docs say!"
  4. See error "Expected a value of type 'int', but got one of type 'Null'"

Expected Behavior
flow works smoothly.

Screenshots
from yaml file:
image
error:
image

Additional context
docs:
image

@AhmedAlyDev AhmedAlyDev added the bug Something isn't working label Nov 22, 2023
@AhmedAlyDev AhmedAlyDev changed the title fix: clearText action is not working as expected without an int value Nov 22, 2023
@AhmedAlyDev AhmedAlyDev changed the title clearText action is not working as expected without an int value fix: clearText action is not working as expected without an int value Nov 22, 2023
@wolfenrain
Copy link
Owner

Hmm seems for some reason the default value is not being used, will have to look into why that is happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants