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

Invalid prop: type check failed for prop "modelValue". Expected String with value "null", got Null #148

Open
new-user-name opened this issue Jun 21, 2023 · 0 comments

Comments

@new-user-name
Copy link

Hi,
console says
Invalid prop: type check failed for prop "modelValue". Expected String with value "null", got Null
at <VueDadata modelValue=null onUpdate:modelValue=fn suggestion=null ... >
I added
modelValue = "something"
to suppress warning, but nothing happened. It works fine, but I think something is not idiomatic in my code.

I found that

modelValue: {
      type: String,
      required: true
    },

where String is not just String, but "Allows manipulation and formatting of text strings and determination and location of substrings within strings."

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