Skip to content

Major bug in docs.#1770

Open
EvanCarroll wants to merge 1 commit intouxsolutions:masterfrom
EvanCarroll:patch-2
Open

Major bug in docs.#1770
EvanCarroll wants to merge 1 commit intouxsolutions:masterfrom
EvanCarroll:patch-2

Conversation

@EvanCarroll
Copy link

This absolutely didn't work for me on the parent div. In fact, on the parent div data-provide="datepicker" makes it such that clicking the day does not result in the date actually being placed into the input box.

This absolutely didn't work for me on the parent div. In fact, on the parent div `data-provide="datepicker"` makes it such that clicking the day does not result in the date actually being placed into the input box.
@acrobat
Copy link
Member

acrobat commented Jan 26, 2016

@EvanCarroll which version of the datepicker do you use? As the example in the docs works for me in 1.5.1 (and 1.6.0-alpha) http://jsfiddle.net/zcvq0yhh/23/

Can you provide a jsfiddle to show case which has a problem?

@EvanCarroll
Copy link
Author

@acrobat sure, seems as if input-group's data-provide breaks if there is no input-group-addon. Find the example here:

http://jsfiddle.net/zcvq0yhh/29/

Also, take note at the corners. If you put data-provide=datepicker on the div the left-corners change when input field takes focus. That's a subtle visual bug. Amusingly, they don't change back either when it loses focus.

@EvanCarroll
Copy link
Author

@acrobat feedback?

@acrobat
Copy link
Member

acrobat commented Feb 4, 2016

Sorry last few weeks were quite busy. But his looks more like a bug to me then an issue with the docs. I will take a look into it, will put this issue/pr in the 1.6.1 milestone!

@EvanCarroll
Copy link
Author

Any progress on this?

@EvanCarroll
Copy link
Author

We can also see funky behavior, I believe caused by this using data-provide="daterange" on the div wrapping a date range..

http://jsfiddle.net/1Lv9cqy4/1/

@acrobat acrobat modified the milestone: 1.6.1 Apr 29, 2016
@Azaret
Copy link
Contributor

Azaret commented Oct 13, 2016

If I'm not wrong I think that a wanted behavior, like if you initiate the picker on an input it will create a popup, but if you initiate on a div it will create the picker inside that div, that's useful if you don't want a popup, or you want to have a more complex popup like so:

image

So I think there is no bug, but an error on the documentation.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants