Page 1 of 1

How do I change the default in a LISE dropdown in admin

Posted: Thu Feb 08, 2018 4:47 pm
by blackrain
I am trying to find out how to stop a dropdown in a LISE module from auto populating.

I am calling one LISE module into another as an 'instance Item'
The dropdown populates correctly and the data is also displayed correctly on the site.

My issue comes when the admin user adds a new item and the saves it, the dropdown already has a value and save the first by default, even if the admin user does not wish to select anything.

I would like to have something like 'Please select' by default in the dropdown if possible

Re: How do I change the default in a LISE dropdown in admin

Posted: Fri Feb 09, 2018 7:12 pm
by Jo Morg
Currently that is not possible, but I may add it in a future release.

Re: How do I change the default in a LISE dropdown in admin

Posted: Sat Feb 10, 2018 10:35 am
by blackrain
I have figured out a work around that will do for now. by adding a list item to the instance I am pulling into the dropdown and naming it 'select one' and making it the first item in the list, it will be the selected item on the dropdown in the LISE Instance Item fielddef.

to stop the item showing on a summary page I have added the 'start=1' attribute to ignore the first item. It works but may change the dropdown to a radio button to see if that does the required function better.

Thanks


Mark