Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

1.5 Textinput: Enhanced doesn't work as expected #8252

Closed
jaspermdegroot opened this issue Aug 2, 2015 · 1 comment
Closed

1.5 Textinput: Enhanced doesn't work as expected #8252

jaspermdegroot opened this issue Aug 2, 2015 · 1 comment

Comments

@jaspermdegroot
Copy link
Contributor

The widget treats the form element as wrapper and adds classes to it, while there is already a div that serves as wrapper present in the markup.
See http://view.jquerymobile.com/1.5-css-and-demos/demos/textinput/#Enhanced

@apsdehal
Copy link
Contributor

This happens because textinput on the demo page doesn't have any div wrapper among it. See https://github.com/jquery/jquery-mobile/blob/1.5-dev/demos/textinput/index.php#L342 . In these cases when the parent has more than one child, I think we should create a wrapper around the element.

apsdehal added a commit to apsdehal/jquery-mobile that referenced this issue Jun 22, 2016
apsdehal added a commit that referenced this issue Jun 23, 2016
arschmitz pushed a commit to arschmitz/jquery-mobile that referenced this issue Jul 4, 2016
arschmitz pushed a commit that referenced this issue Jul 4, 2016
@apsdehal apsdehal self-assigned this Aug 3, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.