Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-9687

Android: SearchBar: SearchBar added to TableView shows Next button on soft keyboard instead of Done or return button

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Cannot Reproduce
    • Affects Version/s: Release 2.1.0, Release 3.1.0
    • Component/s: Android
    • Labels:
    • Environment:

      Titanium Studio: 2.1.0.201206200844
      Titanium SDK: 2.1.0.v20120619164153
      Android Device: Android Emulator 2.2, Android Tab (V3.2), Galaxy Nexus (V4.0.2)
      Runtime: v8

      Description

      A searchbar added to a tableview, when has focus on search field the soft keyboard shown has the button Next (indicating another field for input available) instead of a Done or Return button

      Not a Regression. It occurs as far as 1.8.2

      Steps to Reproduce:
      1. Create an application with code below and launch the application
      2. Click on the search field to bring up the soft keyboard

      Actual: There is a button for Next on the keyboard. Clicking on Next removes focus for the search field but there is nothing else that shows focus. The keyboard now shows a Done or Return button

      Expected: The keyboard should show the Done button when focus is on search field

      Titanium.UI.setBackgroundColor('#000');
      var data = [
      	{title:'Alan'},
      ];
       
      var win = Ti.UI.createWindow();
      var search = Titanium.UI.createSearchBar({
      	showCancel:false,
      });
      var tableview = Titanium.UI.createTableView({
      	data:data,
      	search:search,
      	filterAttribute:'title'
      });
       
      win.add(tableview);
      win.open();
      
      

        Attachments

          Activity

            People

            • Assignee:
              bijuexalture Biju pm
              Reporter:
              ssekhri Satyam Sekhri
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-13830
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code