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

paper-chip-input validation doesn't work #70

Open
alkunjo opened this issue Mar 27, 2018 · 1 comment
Open

paper-chip-input validation doesn't work #70

alkunjo opened this issue Mar 27, 2018 · 1 comment
Assignees

Comments

@alkunjo
Copy link

alkunjo commented Mar 27, 2018

As it says right here https://github.com/fabbricadigitale/paper-chip#input-field-feature
We can do validation to paper-chip-input manually. Somehow when I use it inside a shadow-root of a polymer element, it can not be validated as the browser says
screenshot from 2018-03-27 11-06-33

Here is my code for the paper-chip-input

<paper-item id="newRC">
   <paper-chip-input id="rcListAndInput" autocomplete placeholder="Choose categories" required></paper-chip-input>
</paper-item>

And here is where I try to validate it manually using a polymer observer on rrc-new.html line 143

checkValidateProperty(submitted){
  if(submitted == true)
    this.$.rcNewForm.validate()
}

Is there anything I have wronged to do? Or it seems to be a bug?

@leodido
Copy link
Collaborator

leodido commented Apr 17, 2018

@alelb could you have a look here?

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

3 participants