You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Eugen (JIRA)" <ji...@apache.org> on 2013/09/10 11:04:52 UTC
[jira] [Commented] (TAP5-2166) Wrong layout of textfield with
Autocomplete mixin
[ https://issues.apache.org/jira/browse/TAP5-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13762870#comment-13762870 ]
Eugen commented on TAP5-2166:
-----------------------------
It seems as if typeahead-0.9.3 isn't full compatible with bootstrap 3.
A dirty fix (that worked for me with standard Form, not tested with nav-form or vertical-form) could be to change the typeahead library:
line: 859 var html = { wrapper: 'span class="twitter-typeahead form-control">...
line 874: query: {
position: "absolute",
top:"0",
left:"0",
},
> Wrong layout of textfield with Autocomplete mixin
> -------------------------------------------------
>
> Key: TAP5-2166
> URL: https://issues.apache.org/jira/browse/TAP5-2166
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.4
> Reporter: Eugen
> Priority: Minor
>
> this code snippet produce an unexpected form layout:
> <t:form role="form" class="col-xs-3">
> <div class="form-group">
> <t:label for="state">State</t:label>
> <t:textfield t:id="state" value="patient.state" />
> </div>
> <div class="form-group">
> <t:label for="country">Country</t:label>
> <t:textfield t:id="country" value="patient.country" t:mixins="autocomplete" />
> </div>
> </t:form>
> The label is on the same line with textfield, the textfield width is wrong (screenshot http://imagesup.net/?di=913782968996)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira