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

Empty Phone link type returns false on isEmpty() check #47

Closed
mdominguez opened this issue Apr 3, 2023 · 1 comment
Closed

Empty Phone link type returns false on isEmpty() check #47

mdominguez opened this issue Apr 3, 2023 · 1 comment

Comments

@mdominguez
Copy link

Describe the bug

Empty Phone link type returns false on isEmpty() check

Steps to reproduce

  1. Create a Hyper field with type Phone enabled in a matrix field
  2. Don't fill in the Link or Link Text for this link field
  3. Dump the matrixFieldHandle.linkfieldHandle.isEmpty()
  4. See that it's returning false and it should return true because it isn't filled in

Craft CMS version

Craft CMS 4.4.5

Plugin version

1.1.2

Multi-site?

Yes

Additional context

No response

@engram-design
Copy link
Member

Updated in 1.1.3

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