Actions
Bug #84575
closedFluid autocomplete widget not working anymore
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2018-04-02
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Problem
The autocomplete widget in below frontend template worked well in TYPO3 CMS 8.7.9. After updating the core to 8.7.10, no autocomplete suggestions are shown anymore. With downgrading and updating between 8.7.9 and 8.7.10 this problem can be reproduced every time. It also does not work in versions 8.7.11 and 8.7.12.
Template HTML
<f:form class="form-horizontal" name="filter" action="list"> <div class="row"> <div class="form-group"> <label for="lastname" class="col-md-4 control-label">Name</label> <div class="col-md-8"> <f:form.textfield name="name" id="name" value="{filter.name}" class="form-control" /> <f:widget.autocomplete for="name" objects="{allPeople}" searchProperty="name" /> <script type="text/javascript"> jQuery(function() { jQuery("#name").autocomplete({ select:function(event, ui) { this.form.name.value = ui.item.value; this.form.submit(); } }); }); </script> </div> </div> <div class="form-group"> <div class="col-md-8 col-md-offset-4"> <f:form.submit value="Suchen" class="btn btn-primary" /> </div> </div> </div> </f:form>
Additional information
In the version 8.7.10 release notes I found that typo3fluid/fluid was updated to 2.5.0 (a8da855525). However, I did not find relevant changes in the corresponding fluid viewhelper PHP files neither any documentation concerning changes in thie viewhelper widget.
Actions