Results 1 to 1 of 1

Thread: Duplicate action on model field referenced in combobox removes combobox display field

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Jan 2010
    Location
    Vancouver, Canada
    Posts
    258

    Default Duplicate action on model field referenced in combobox removes combobox display field

    SA is sneaky :-)

    Here is how to reproduce:
    1. Create a new blank project for ExtJs 6.6.0 classic
    2. Add a model with two fields, id:Int, name: String
    3. Add a form panel
    4. Add combobox to the form panel
    5. Add a store to the form panel and set its model to the model created at step 2
    6. Bind the combobox to the store (don't forget to click the hoove icon).
    7. Set the value field to id and the display field to name
    8. Save the project

    - At this point, if you have git, I recommend creating a local repository and committing the files. it's easier to view the changes in the next steps

    9. Select the model, click on the name, right-click Duplicate.
    10. Change the name of the new field to let's say text.and save.

    At this point in SA removed the display field setting from the combobox.

    11. I hoped Undo works. I undid the renaming and duplication of the model field, however, SA didn't put back the displayField.

    I attached the project archive as of the end of step 8.

    Was this fixed in the later versions? If not, can you please fix it?



    Version: 4.2.4.389
    Channel: 4.2-stable
    Platform: 1.6.2.49 - win32 x64
    Renderer: 56.0.2924.87
    Cmd: 6.6.0.13
    Framework: Ext JS 6.6.x Classic
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •