Skip to content

Add attribute to indicate whether element has value or not #57

@ainvaltin

Description

@ainvaltin

Add an attribute/property which indicates whether the input is empty or not. Intended usage is in CSS selectors ie

paper-chip-input-autocomplete[has-value] {...}

Unfortunately it seems that the standard :placeholder-shown class is not working with polymer elements (ie even with paper-input).
Vaadin elements do have (at least combo-box and date-picker) hasValue property for this purpose.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions