← Back to team overview

touch-packages team mailing list archive

[Bug 1513933] Re: Page.head.sections.selectedIndex does not reset when changing model

 

** Description changed:

  Changing Page.head.sections.model does not change the
  Page.head.sections.selectedIndex  even when the model has different
  size.
  
- 
- I have a page that I need to update the ' Page.head.sections.model ' dynamically and after change the model or make it empty the  Page.head.sections.selectedIndex still point to the initial value. 
+ I have a page that I need to update the ' Page.head.sections.model '
+ dynamically and after change the model or make it empty the
+ Page.head.sections.selectedIndex still point to last value used.
  
  Check attached example .

** Description changed:

  Changing Page.head.sections.model does not change the
  Page.head.sections.selectedIndex  even when the model has different
  size.
  
  I have a page that I need to update the ' Page.head.sections.model '
  dynamically and after change the model or make it empty the
  Page.head.sections.selectedIndex still point to last value used.
  
+ I expect that to reset back to 0 if the model changes.
+ 
  Check attached example .

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1513933

Title:
  Page.head.sections.selectedIndex does not reset when changing model

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  Changing Page.head.sections.model does not change the
  Page.head.sections.selectedIndex  even when the model has different
  size.

  I have a page that I need to update the ' Page.head.sections.model '
  dynamically and after change the model or make it empty the
  Page.head.sections.selectedIndex still point to last value used.

  I expect that to reset back to 0 if the model changes.

  Check attached example .

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1513933/+subscriptions


References