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

Data-API support for component, disabled and readonly #1671

Closed
wants to merge 1 commit into from
Closed

Data-API support for component, disabled and readonly #1671

wants to merge 1 commit into from

Conversation

fdaugan
Copy link
Contributor

@fdaugan fdaugan commented Nov 13, 2015

Add Data-API support for component. Currently, Data-API covers only the input itself, but not the add-on/input-group-addon.
This PR detect the addon, and listen the click on it, exactly as the input, without any JS to be written.

In addition, disable and readonly states are managed.

Add Data-API support for component. Currently, Data-API covers only the input itself, but not the add-on/input-group-addon.
This PR detect the addon, and listen the click on it, exactly as the input, without any JS to be written.

In addition, disable and readonly states are managed.
@acrobat
Copy link
Member

acrobat commented Nov 13, 2015

@fabdouglas please check the failing test suite! Do we need to add some extra tests to check this behavior?

@fdaugan
Copy link
Contributor Author

fdaugan commented Nov 13, 2015

In fact the expected feature is already implemented in a different way but not clearly documented.
My PR adds support of data-provide="datepicker" only on <input> to detect the right addon, without adding date on the container.
But in the failed test I've just seen data-provide="datepicker" could be added on input-group/input-append, and works well.

I've added a PR for the doc in #1674

@fdaugan fdaugan closed this Nov 13, 2015
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

Successfully merging this pull request may close these issues.

2 participants