Fixed this bug that I issued earlier in (SelectList)
Let's say that you have the data = [
{key:'1', value:'Apple'},
{key:'2', value:'Appliances'},
{key:'3', value:'Cameras'},
{key:'4', value:'Computers'},
{key:'5', value:'Vegetables'},
{key:'6', value:'Diary Products'},
{key:'7', value:'Drinks'},
]
,If you enter "C" and the click on close (x) and try to use the selectlist again, you will receive only the data you searched for earlier and the not whole data. It means that I will only see ['Cameras', 'Computers'].
Also Added a functionality to clear selected value (in SelectList) by adding new key to the data. new key="000", value="Clear", and added icon to the clear with read color.
Fixed this bug that I issued earlier in (SelectList) Let's say that you have the data = [ {key:'1', value:'Apple'}, {key:'2', value:'Appliances'}, {key:'3', value:'Cameras'}, {key:'4', value:'Computers'}, {key:'5', value:'Vegetables'}, {key:'6', value:'Diary Products'}, {key:'7', value:'Drinks'}, ] ,If you enter "C" and the click on close (x) and try to use the selectlist again, you will receive only the data you searched for earlier and the not whole data. It means that I will only see ['Cameras', 'Computers'].
Also Added a functionality to clear selected value (in SelectList) by adding new key to the data. new key="000", value="Clear", and added icon to the clear with read color.