On Mon, Mar 17, 2014 at 8:54 PM, Gerritjan Koekkoek <[email protected]> wrote:
Hi,
If, in App Within Minutes, you select an attribute of type Static List with multiple options and you set the selection type to Radio Button the : $doc.display('SL1') shows the radio buttons in Edit mode, but not in Display mode.
I feel radio buttons should always display all the options and highlight the 'selected' one. But now, in view mode the user has nu clue what he/she can choose. It's a but odd to select EDIT before he/she can see the options.
I don't agree. When I'm in view mode I'm interested in the selected value. There can be many options and so displaying all of them clutters the UI and distracts the user.
In the sheet i've modified the generated code from; : $doc.display('SL1') -> : $doc.display('SL1', 'edit') But this allows the user to select another option (the control is active)
Is there a more elegant way to have the control show the radio buttons and the one currently selected highlighted but that the control is not active?
You either make the radio buttons generated by $doc.display read-only with JavaScript or you generate the radio buttons read only by yourself. Hope this helps, Marius
Gerritjan _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users