Description: Setting SelectedValue seems to change the value to NULL if the current value and new value are different. Print oListBox.CurrentValue // current value is "yes" oListBox.SelectedValue = "yes" Print oListBox.CurrentValue // shows as "yes" Print oListBox.CurrentValue // current value is "no" oListBox.SelectedValue = "yes" Print oListBox.CurrentValue // shows as "" (NULL) Steps to Reproduce: . Actual Results: . Expected Results: . Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
Lionel Elie Mamane committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=ecdcf38a3250536d9b7f48a8ded50e23ccfcd1df tdf#108732 ListBox: in absence of a field, treat data as string It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Lionel Elie Mamane committed a patch related to this issue. It has been pushed to "libreoffice-5-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=39ea36bf8602744c27c16369c88db2858653b59f&h=libreoffice-5-3 tdf#108732 ListBox: in absence of a field, treat data as string It will be available in 5.3.5. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Lionel Elie Mamane committed a patch related to this issue. It has been pushed to "libreoffice-5-4": http://cgit.freedesktop.org/libreoffice/core/commit/?id=7173b70d665608f3823f4a3ff0653f84c0630ed3&h=libreoffice-5-4 tdf#108732 ListBox: in absence of a field, treat data as string It will be available in 5.4.0.2. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.