Project

General

Profile

Actions

Bug #84575

closed

Fluid autocomplete widget not working anymore

Added by Daniel Widmer over 6 years ago. Updated over 4 years ago.

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.


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #73207: Changing the Template of a fluid widget does not workClosed2016-02-10

Actions
Related to TYPO3 Core - Task #90091: Update Autocomplete widget template ajax urlClosed2020-01-12

Actions
Related to TYPO3 Core - Bug #90753: widget autocomplete url has still wrong masking with &amp;Closed2020-03-13

Actions
Actions

Also available in: Atom PDF