thanks… if you visit this page:
https://ptiernanhome.wixsite.com/cardealer2/general-8
All of the dropdowns should be showing Placeholder Text (and used to) such as Category, Make, Model, Age Range, Price Range, etc.
Instead the default placeholder text gets changed to the All value as soon as I assign the values to each dropdown from a dataset.
To test trying to FORCE the dropdown11 (first one top left) I created a Test button. When you click it the following code is run but it still doesn’t allow the placeholder text to be changed. The code for the Test Button top left hand side is as follows:
export function testButton_click ( event ) {
console . log ( “Placeholder before for dropdown11:” , $w ( “#dropdown11” ). placeholder );
$w ( “#dropdown11” ). options =;
$w ( “#dropdown11” ). options . push ( { “label” : “All” , “value” : “” } );
$w ( “#dropdown11” ). options . push ( { “label” : “Cars” , “value” : “Cars” } );
$w ( “#dropdown11” ). options . push ( { “label” : “Vans” , “value” : “Vans” } );
$w ( “#dropdown11” ). selectedIndex = undefined ;
$w ( “#dropdown11” ). placeholder = “Category” ;
console . log ( “Placeholder after for dropdown11:” , $w ( “#dropdown11” ). placeholder );
}
Which does run as the console log shows “Category” for the dropdown11 placeholder text both before I click the test button & after yet the dropdown shows “All” as the placeholder always !!