You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Sven Homburg (JIRA)" <ji...@apache.org> on 2014/06/13 16:18:02 UTC
[jira] [Commented] (TAP5-2287) Autocomplete mixin change display
width of field
[ https://issues.apache.org/jira/browse/TAP5-2287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14030664#comment-14030664 ]
Sven Homburg commented on TAP5-2287:
------------------------------------
i think that is a typeahead.js problem
the wrapper style set to "display:inline-block"
here the snippet
{code:javascript}
...
var TypeaheadView = function() {
var html = {
wrapper: '<span class="twitter-typeahead"></span>',
hint: '<input class="tt-hint" type="text" autocomplete="off" spellcheck="off" disabled>',
dropdown: '<span class="tt-dropdown-menu"></span>'
}, css = {
wrapper: {
position: "relative",
display: "inline-block"
},
...
{code}
> Autocomplete mixin change display width of field
> ------------------------------------------------
>
> Key: TAP5-2287
> URL: https://issues.apache.org/jira/browse/TAP5-2287
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.4
> Reporter: Sven Homburg
> Priority: Minor
>
> the Autocomplete mixin override the field css, so the field displayed
> shorter than declared in template or class code
> here my template code
> <div class="form-group">
> <label class="col-sm-2 control-label">Name</label>
> <div class="col-sm-10">
> <input type="text" class="form-control input-sm" t:id="inputPickupName" t:mixins="Autocomplete"/>
> </div>
> </div>
--
This message was sent by Atlassian JIRA
(v6.2#6252)