You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Sven Homburg (JIRA)" <ji...@apache.org> on 2015/01/13 18:30:35 UTC

[jira] [Commented] (TAP5-2440) mixin autocomplete work not correct if user input is rquired

    [ https://issues.apache.org/jira/browse/TAP5-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14275576#comment-14275576 ] 

Sven Homburg commented on TAP5-2440:
------------------------------------

hint: the generated html code look like this.
you see that the input tag is generated twice (i think, one tag is cloned by [typeahead|http://twitter.github.io/typeahead.js])

{code:html}
<span class="twitter-typeahead" style="position: relative; display: inline-block; direction: ltr;">
<input autocomplete="off" maxlength="30" data-required-message="Sie müssen einen Wert für Name 1 angeben." data-optionality="required" data-validation="true" value="homburg Softwaretechnik" class="form-control form-control input-sm tt-hint" type="text" readonly="" spellcheck="false" tabindex="-1" style="position: absolute; top: 0px; left: 0px; border-color: transparent; box-shadow: none; opacity: 1; background: none 0% 0% / auto repeat scroll padding-box padding-box rgb(255, 255, 255);">
<input autocomplete="off" maxlength="30" data-required-message="Sie müssen einen Wert für Name 1 angeben." data-optionality="required" data-validation="true" value="homburg Softwaretechnik" id="inputName1" class="form-control form-control input-sm tt-input" name="inputName1" type="text" spellcheck="false" dir="auto" style="position: relative; vertical-align: top; background-color: transparent;">
<pre aria-hidden="true" style="position: absolute; visibility: hidden; white-space: pre; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; word-spacing: 0px; letter-spacing: 0px; text-indent: 0px; text-rendering: auto; text-transform: none;">
</pre>
<span class="tt-dropdown-menu" style="position: absolute; top: 100%; left: 0px; z-index: 100; display: none; right: auto;"><div class="tt-dataset-inputName1">
</div>
</span>
</span>
{code}


> mixin autocomplete work not correct if user input is rquired
> ------------------------------------------------------------
>
>                 Key: TAP5-2440
>                 URL: https://issues.apache.org/jira/browse/TAP5-2440
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.4
>            Reporter: Sven Homburg
>
> [beta-26] if mixin autocomplete is used for textfield component that requires an user input, the "required validation message" displayed even if user has fill the textfield.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)