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 2014/08/04 10:12:12 UTC
[jira] [Reopened] (TAP5-2166) Wrong layout of textfield with
Autocomplete mixin
[ https://issues.apache.org/jira/browse/TAP5-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eugen reopened TAP5-2166:
-------------------------
Updated screenshot link [https://drive.google.com/file/d/0B0cWTR9sIXUUdGprZ25sWU9TOHM/edit?usp=sharing]
Tested recently with last Tapestry 5.4-SNAPSHOT
{code:title=Index.java|borderStyle=solid}
public class Index {
@Property
String state;
@Property
String country;
String[] onProvideCompletionsFromCountry(String input) {
return new String[] { "one", "two", "three" };
}
}
{code}
{code:xml|title=Index.tml|borderStyle=solid}
<div class="col-xs-6 well">
<t:form role="form" class="col-xs-8">
<div class="form-group">
<t:label for="state">State</t:label>
<t:textfield t:id="state" value="state" />
</div>
<div class="form-group">
<t:label for="country">Country</t:label>
<t:textfield t:id="country" value="country" t:mixins="autocomplete" />
</div>
</t:form>
</div>
{code}
> 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 was sent by Atlassian JIRA
(v6.2#6252)