[
https://issues.apache.org/jira/browse/CLK-546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bob Schellink resolved CLK-546.
-------------------------------
Resolution: Fixed
fixed in trunk and backported to 2.0.2 and 1.5.2
> Removing AutoCompleteTextField does not remove it from its parent Page
> ----------------------------------------------------------------------
>
> Key: CLK-546
> URL: https://issues.apache.org/jira/browse/CLK-546
> Project: Click
> Issue Type: Bug
> Components: extras
> Affects Versions: 2.0.1, 1.5.1
> Reporter: Bob Schellink
> Assignee: Bob Schellink
> Priority: Minor
>
> > If you add an AutoCompleteTextField to a form and then attempt to remove
> > the field from the form, the <input> field itself is removed but the
> > generated <script> code remains. This causes a browser script error when
> > the page is rendered.
> The reason the JavaScript is still rendered is because the
> AutoCompleteTextField is also added to its parent Page in order for Ajax
> callbacks to work properly.
> We need to remove the field from the page when the field is removed from its
> parent container.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.