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 attributes #170

Open
jerbaroo opened this issue Mar 14, 2017 · 1 comment
Open

Empty attributes #170

jerbaroo opened this issue Mar 14, 2017 · 1 comment

Comments

@jerbaroo
Copy link
Contributor

jerbaroo commented Mar 14, 2017

I would like to set the attribute webkitdirectory on an <input> element such that users of the application are only allowed to select directories.

How about exposing emptyAttr, similar to the html package?

@HeinrichApfelmus HeinrichApfelmus changed the title Custom attributes Empty attributes Apr 20, 2017
@HeinrichApfelmus
Copy link
Owner

I'm a bit confused. The combinator attr allows you to set any HTML attribute, though at the moment, it is restricted to attributes with String values. I take it that you are saying that this does not cover the case of the empty attribute?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants