Skip to content

Conversation

@HaythamT95
Copy link
Owner

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.
@HaythamT95 HaythamT95 merged commit 2d97422 into main May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants