expo-dropdown-select-list
v2.0.2
Published
⭐ React Native Select List Equivalent to Html's Select with options"
Downloads
3
Maintainers
Readme
��<�h�1� �a�l�i�g�n�=�"�c�e�n�t�e�r�"�>�
�
� � �T�h�i�s� �i�s� �a�n� �a�d�a�p�t�a�t�i�o�n� �o�f� �"�r�e�a�c�t�-�n�a�t�i�v�e�-�d�r�o�p�d�o�w�n�-�s�e�l�e�c�t�-�l�i�s�t�"� �f�r�o�m� �"�d�a�n�i�s�h�1�6�5�8�"�.� �<�/�h�1�>�
�
�<�a� �h�r�e�f�=�"�h�t�t�p�s�:�/�/�g�i�t�h�u�b�.�c�o�m�/�d�a�n�i�s�h�1�6�5�8�/�r�e�a�c�t�-�n�a�t�i�v�e�-�d�r�o�p�d�o�w�n�-�s�e�l�e�c�t�-�l�i�s�t�"� �t�a�r�g�e�t�=�"�_�b�l�a�n�k�"�>�
�
� � �L�i�n�k� �t�o� �h�i�s� �r�e�p�o�s�i�t�o�r�y�:� �h�t�t�p�s�:�/�/�g�i�t�h�u�b�.�c�o�m�/�d�a�n�i�s�h�1�6�5�8�/�r�e�a�c�t�-�n�a�t�i�v�e�-�d�r�o�p�d�o�w�n�-�s�e�l�e�c�t�-�l�i�s�t� �<�/�a�>�
�
�
�
�<�b�r�>�
�
�<�h�r�>�
�
�<�b�r�>�
�
�
�
�<�h�1� �a�l�i�g�n�=�"�c�e�n�t�e�r�"�>�
�
� � �P+ �E�x�p�o� �D�r�o�p�d�o�w�n� �S�e�l�e�c�t� �L�i�s�t� �<�/�h�1�>�
�
�
�
�<�d�i�v� �a�l�i�g�n�=�"�c�e�n�t�e�r�"�>�
�
�
�
�R�e�a�c�t� �N�a�t�i�v�e� �S�e�l�e�c�t� �L�i�s�t� �E�q�u�i�v�a�l�e�n�t� �t�o� �H�t�m�l�'�s� �S�e�l�e�c�t� �"�
�
�
�
�<�/�d�i�v�>�
�
�
�
�<�p� �a�l�i�g�n�=�"�c�e�n�t�e�r�"� �>�
�
� � �<�d�i�v� �s�t�y�l�e�=�"�d�i�s�p�l�a�y�:�f�l�e�x�;�j�u�s�t�i�f�y�-�c�o�n�t�e�n�t�:�s�p�a�c�e�-�e�v�e�n�l�y�;�a�l�i�g�n�-�i�t�e�m�s�:�c�e�n�t�e�r�"�>�
�
� � � � �
�
�M�u�l�t�i�p�l�e� �S�e�l�e�c�t� �L�i�s�t� � � � � � � � � � � � �|� � �S�e�l�e�c�t� �L�i�s�t�
�
�:�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�:�|�:�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�:�
�
�!�[�]�(�h�t�t�p�s�:�/�/�i�.�i�m�g�u�r�.�c�o�m�/�E�A�T�8�1�N�z�.�g�i�f�)� � �|� � �!�[�]�(�h�t�t�p�s�:�/�/�i�.�i�m�g�u�r�.�c�o�m�/�q�m�H�r�e�F�H�.�g�i�f�)�
�
� � � � �
�
� � �<�/�d�i�v�>�
�
� � �<�b�r�>�
�
� � �
�
�<�/�p�>�
�
�<�b�r�>�
�
�
�
�<�h�4�>�L�i�g�h�t� �w�e�i�g�h�t� �a�n�d� �<�b�>�E�a�s�y�<�/�b�>� �t�o� �u�s�e� �d�r�o�p�d�o�w�n� �s�e�l�e�c�t� �l�i�s�t�.�<�/�h�4�>�
�
�
�
�-� � � �S�t�y�l�e� �i�t� �y�o�u�r� �w�a�y� �w�i�t�h� �s�t�y�l�e� �p�r�o�p�s� �o�f� �e�v�e�r�y� �v�i�e�w�.�
�
�-� � � �S�m�o�o�t�h� �p�e�r�f�o�r�m�a�n�c�e� �o�n� �a�l�l� �p�l�a�t�f�o�r�m�s� �I�O�S�,� �A�n�d�r�o�i�d� �a�n�d� �W�e�b�.�
�
�-� � � �C�h�a�n�g�e� �F�o�n�t� �F�a�m�i�l�y� �E�a�s�i�l�y� �w�h�i�c�h� �c�o�m�m�u�n�i�t�y� �p�i�c�k�e�r� �l�a�c�k�s�.�
�
�-� � � �<�b�>�Z�e�r�o�<�/�b�>� �d�e�p�e�n�d�e�n�c�i�e�s�
�
�
�
�<�b�r�>�
�
�
�
�#� �C�o�m�p�a�t�i�b�i�l�i�t�y�
�
�
�
�<�b�r�>�
�
�
�
�|� � �i�O�S� � �|� �A�n�d�r�o�i�d� �|� �W�e�b� �|� �E�x�p�o� �|�
�
�-�-�-�-�-�-�-�-�|�-�-�-�-�-�-�-�-�-�|�-�-�-�-�-�|�-�-�-�-�-�-�|�
�
�|� � �' � �|� � � � �' � � � �|� �' �|� � �' � �|�
�
�
�
�
�
�<�b�r�>�
�
�
�
�#� �=�� �I�n�s�t�a�l�l�a�t�i�o�n�
�
�
�
��
��s�h�
�
�$� �n�p�m� �i�n�s�t�a�l�l� �e�x�p�o�-�d�r�o�p�d�o�w�n�-�s�e�l�e�c�t�-�l�i�s�t�
�
�
�
�
��
�
�
�
�
�O�R�
�
�
�
��
��s�h�
�
�$� �y�a�r�n� �a�d�d� �e�x�p�o�-�d�r�o�p�d�o�w�n�-�s�e�l�e�c�t�-�l�i�s�t�
�
�
��
�
�
�
�
�<�b�r�>�
�
�
�
�#� �=�� �B�a�s�i�c� �U�s�a�g�e� �f�o�r� �S�e�l�e�c�t�L�i�s�t�
�
��
��j�s�x�
�
�i�m�p�o�r�t� �{� �S�e�l�e�c�t�L�i�s�t� �}� �f�r�o�m� �'�e�x�p�o�-�d�r�o�p�d�o�w�n�-�s�e�l�e�c�t�-�l�i�s�t�'�
�
�
�
�c�o�n�s�t� �A�p�p� �=� �(�)� �=�>� �{�
�
�
�
� � �c�o�n�s�t� �[�s�e�l�e�c�t�e�d�,� �s�e�t�S�e�l�e�c�t�e�d�]� �=� �R�e�a�c�t�.�u�s�e�S�t�a�t�e�(�"�"�)�;�
�
� � �
�
� � �c�o�n�s�t� �d�a�t�a� �=� �[�
�
� � � � � � �{�k�e�y�:�'�1�'�,� �v�a�l�u�e�:�'�M�o�b�i�l�e�s�'�,� �d�i�s�a�b�l�e�d�:�t�r�u�e�}�,�
�
� � � � � � �{�k�e�y�:�'�2�'�,� �v�a�l�u�e�:�'�A�p�p�l�i�a�n�c�e�s�'�}�,�
�
� � � � � � �{�k�e�y�:�'�3�'�,� �v�a�l�u�e�:�'�C�a�m�e�r�a�s�'�}�,�
�
� � � � � � �{�k�e�y�:�'�4�'�,� �v�a�l�u�e�:�'�C�o�m�p�u�t�e�r�s�'�,� �d�i�s�a�b�l�e�d�:�t�r�u�e�}�,�
�
� � � � � � �{�k�e�y�:�'�5�'�,� �v�a�l�u�e�:�'�V�e�g�e�t�a�b�l�e�s�'�}�,�
�
� � � � � � �{�k�e�y�:�'�6�'�,� �v�a�l�u�e�:�'�D�i�a�r�y� �P�r�o�d�u�c�t�s�'�}�,�
�
� � � � � � �{�k�e�y�:�'�7�'�,� �v�a�l�u�e�:�'�D�r�i�n�k�s�'�}�,�
�
� � �]�
�
�
�
� � �r�e�t�u�r�n�(�
�
� � � � �<�S�e�l�e�c�t�L�i�s�t� �
�
� � � � � � � � �s�e�t�S�e�l�e�c�t�e�d�=�{�(�v�a�l�)� �=�>� �s�e�t�S�e�l�e�c�t�e�d�(�v�a�l�)�}� �
�
� � � � � � � � �d�a�t�a�=�{�d�a�t�a�}� �
�
� � � � � � � � �s�a�v�e�=�"�v�a�l�u�e�"�
�
� � � � �/�>�
�
� � �)�
�
�
�
�}�;�
�
�
��
�
�
�<�b�r�>�
�
�
�
�#� �=�� �B�a�s�i�c� �U�s�a�g�e� �f�o�r� �M�u�l�t�i�p�l�e�S�e�l�e�c�t�L�i�s�t�
�
��
��j�s�x�
�
�i�m�p�o�r�t� �{� �M�u�l�t�i�p�l�e�S�e�l�e�c�t�L�i�s�t� �}� �f�r�o�m� �'�e�x�p�o�-�d�r�o�p�d�o�w�n�-�s�e�l�e�c�t�-�l�i�s�t�'�
�
�
�
�c�o�n�s�t� �A�p�p� �=� �(�)� �=�>� �{�
�
�
�
� � �c�o�n�s�t� �[�s�e�l�e�c�t�e�d�,� �s�e�t�S�e�l�e�c�t�e�d�]� �=� �R�e�a�c�t�.�u�s�e�S�t�a�t�e�(�[�]�)�;�
�
� � �
�
� � �c�o�n�s�t� �d�a�t�a� �=� �[�
�
� � � � � � �{�k�e�y�:�'�1�'�,� �v�a�l�u�e�:�'�M�o�b�i�l�e�s�'�,� �d�i�s�a�b�l�e�d�:�t�r�u�e�}�,�
�
� � � � � � �{�k�e�y�:�'�2�'�,� �v�a�l�u�e�:�'�A�p�p�l�i�a�n�c�e�s�'�}�,�
�
� � � � � � �{�k�e�y�:�'�3�'�,� �v�a�l�u�e�:�'�C�a�m�e�r�a�s�'�}�,�
�
� � � � � � �{�k�e�y�:�'�4�'�,� �v�a�l�u�e�:�'�C�o�m�p�u�t�e�r�s�'�,� �d�i�s�a�b�l�e�d�:�t�r�u�e�}�,�
�
� � � � � � �{�k�e�y�:�'�5�'�,� �v�a�l�u�e�:�'�V�e�g�e�t�a�b�l�e�s�'�}�,�
�
� � � � � � �{�k�e�y�:�'�6�'�,� �v�a�l�u�e�:�'�D�i�a�r�y� �P�r�o�d�u�c�t�s�'�}�,�
�
� � � � � � �{�k�e�y�:�'�7�'�,� �v�a�l�u�e�:�'�D�r�i�n�k�s�'�}�,�
�
� � �]�
�
�
�
� � �r�e�t�u�r�n�(�
�
� � � � �<�M�u�l�t�i�p�l�e�S�e�l�e�c�t�L�i�s�t� �
�
� � � � � � � � �s�e�t�S�e�l�e�c�t�e�d�=�{�(�v�a�l�)� �=�>� �s�e�t�S�e�l�e�c�t�e�d�(�v�a�l�)�}� �
�
� � � � � � � � �d�a�t�a�=�{�d�a�t�a�}� �
�
� � � � � � � � �s�a�v�e�=�"�v�a�l�u�e�"�
�
� � � � � � � � �o�n�S�e�l�e�c�t�=�{�(�)� �=�>� �a�l�e�r�t�(�s�e�l�e�c�t�e�d�)�}� �
�
� � � � � � � � �l�a�b�e�l�=�"�C�a�t�e�g�o�r�i�e�s�"�
�
� � � � �/�>�
�
� � �)�
�
�
�
�}�;�
�
�
��
�
�
�
�
�
�
�<�b�r�>�
�
�
�
�#� �=�'� �G�e�n�e�r�a�l� �P�r�o�p�s�
�
�<�i�>�A�p�p�l�i�c�a�b�l�e� �o�n� �b�o�t�h� �<�b�>�S�e�l�e�c�t�L�i�s�t�<�/�b�>� �&� �<�b�>�M�u�l�t�i�p�l�e�S�e�l�e�c�t�L�i�s�t�<�/�b�>� �C�o�m�p�o�n�e�n�t�s�<�/�i�>�
�
�
�
�|� �N�a�m�e� �|� �T�y�p�e� �|� �D�e�s�c�r�i�p�t�i�o�n� �|�
�
�|� �-�-�-�-� �|� �-�-�-�-� �|� �-�-�-�-�-�-�-�-�-�-�-� �|�
�
�|� �s�a�v�e�|� �s�t�r�i�n�g� �|� �P�a�s�s� �(�'�k�e�y�'� �o�r� �'�v�a�l�u�e�'�)� �t�o� �s�a�v�e� �d�a�t�a� �o�f� �y�o�u�r� �c�h�o�i�c�e� �i�n� �y�o�u�r� �l�o�c�a�l� �s�t�a�t�e� �v�a�r�i�a�b�l�e�
�
�|� �o�n�S�e�l�e�c�t�|� �F�u�n�c�t�i�o�n� �|� �P�a�s�s� �a�n�y� �f�u�n�c�t�i�o�n� �t�h�a�t� �y�o�u� �w�a�n�t� �t�o� �t�r�i�g�g�e�r� �i�m�m�e�d�i�a�t�e�l�y� �a�f�t�e�r� �a� �v�a�l�u�e� �i�s� �s�e�l�e�c�t�e�d�
�
�|� �p�l�a�c�e�h�o�l�d�e�r� �|� �S�t�r�i�n�g� �|� �P�l�a�c�e�h�o�l�d�e�r� �t�e�x�t� �t�h�a�t� �w�i�l�l� �b�e� �d�i�s�p�l�a�y�e�d� �i�n� �t�h�e� �s�e�l�e�c�t� �b�o�x�
�
�|� �s�e�a�r�c�h� �|� �b�o�o�l�e�a�n� �|� �s�e�t� �t�o� �f�a�l�s�e� �i�f� �y�o�u� �d�o�n�t� �w�a�n�t� �t�o� �u�s�e� �s�e�a�r�c�h� �f�u�n�c�t�i�o�n�a�l�i�t�y�
�
�|� �m�a�x�H�e�i�g�h�t�|� �N�u�m�b�e�r� �|� �M�a�x�i�m�u�m� �h�e�i�g�h�t� �o�f� �t�h�e� �d�r�o�p�d�o�w�n� �w�r�a�p�p�e�r� �t�o� �o�c�c�u�p�y�
�
�|� �d�a�t�a�|� �a�r�r�a�y� �o�r� �a�r�r�a�y�[�o�b�j�e�c�t�]�|� �D�a�t�a� �w�h�i�c�h� �w�i�l�l� �b�e� �i�t�e�r�a�t�e�d� �a�s� �o�p�t�i�o�n�s� �o�f� �s�e�l�e�c�t� �l�i�s�t�
�
�|� �s�e�t�S�e�l�e�c�t�e�d�|� �F�u�n�c�t�i�o�n� �|� �F�o�r� �S�e�t�t�i�n�g� �t�h�e� �o�p�t�i�o�n� �v�a�l�u�e� �w�h�i�c�h� �w�i�l�l� �b�e� �s�t�o�r�e�d� �i�n� �y�o�u�r� �l�o�c�a�l� �s�t�a�t�e�
�
�|� �s�e�a�r�c�h�i�c�o�n�|� �J�S�X� �E�l�e�m�e�n�t� �|� �P�a�s�s� �a�n�y� �J�S�X� �t�o� �t�h�i�s� �p�r�o�p� �l�i�k�e� �T�e�x�t�,� �I�m�a�g�e� �o�r� �I�c�o�n� �t�o� �s�h�o�w� �i�n�s�t�e�a�d� �o�f� �s�e�a�r�c�h� �i�c�o�n�
�
�|� �a�r�r�o�w�i�c�o�n�|� �J�S�X� �E�l�e�m�e�n�t� �|� �P�a�s�s� �a�n�y� �J�S�X� �t�o� �t�h�i�s� �p�r�o�p� �l�i�k�e� �T�e�x�t�,� �I�m�a�g�e� �o�r� �I�c�o�n� �t�o� �s�h�o�w� �i�n�s�t�e�a�d� �o�f� �c�h�e�v�r�o�n� �i�c�o�n�
�
�|� �c�l�o�s�e�i�c�o�n�|� �J�S�X� �E�l�e�m�e�n�t� �|� �P�a�s�s� �a�n�y� �J�S�X� �t�o� �t�h�i�s� �p�r�o�p� �l�i�k�e� �T�e�x�t�,� �I�m�a�g�e� �o�r� �I�c�o�n� �t�o� �s�h�o�w� �i�n�s�t�e�a�d� �o�f� �c�l�o�s�e� �i�c�o�n�
�
�|� �s�e�a�r�c�h�P�l�a�c�e�h�o�l�d�e�r�|� �S�t�r�i�n�g� �|� �C�u�s�t�o�m� �p�l�a�c�e�h�o�l�d�e�r� �t�e�x�t� �f�o�r� �s�e�a�r�c�h� �T�e�x�t�I�n�p�u�t�
�
�|� �d�e�f�a�u�l�t�O�p�t�i�o�n�|� �O�b�j�e�c�t� �|� �P�a�s�s� �d�e�f�a�u�l�t� �s�e�l�e�c�t�e�d� �o�p�t�i�o�n� �i�n� �k�e�y� �v�a�l�u�e� �p�a�i�r�
�
�|� �f�o�n�t�F�a�m�i�l�y�|� �s�t�r�i�n�g� �|� �P�a�s�s� �f�o�n�t� �n�a�m�e� �t�o� �a�p�p�l�y� �g�l�o�b�a�l�l�y� �o�n� �e�a�c�h� �t�e�x�t� �f�i�e�l�d� �o�f� �c�o�m�p�o�n�e�n�t�
�
�|� �n�o�t�F�o�u�n�d�T�e�x�t�|� �s�t�r�i�n�g� �|� �P�a�s�s� �y�o�u�r� �c�u�s�t�o�m� �m�e�s�s�a�g�e� �i�f� �a�n�y� �s�e�a�r�c�h� �r�e�s�u�l�t� �r�e�t�u�r�n�s� �e�m�p�t�y�
�
�|� �d�r�o�p�d�o�w�n�S�h�o�w�n�|� �b�o�o�l�e�a�n� �|� �C�o�n�t�r�o�l� �y�o�u�r� �d�r�o�p�d�o�w�n� �(� �o�n� �&� �o�f�f� �)� �s�t�a�t�e� �b�y� �c�h�a�n�g�i�n�g� �i�t�s� �v�a�l�u�e� �t�o� �t�r�u�e� �o�r� �f�a�l�s�e�
�
�
�
�<�b�r�>�
�
�
�
�#� �=�'� �G�e�n�e�r�a�l� �S�t�y�l�e� �P�r�o�p�s�
�
�<�i�>�A�p�p�l�i�c�a�b�l�e� �o�n� �b�o�t�h� �<�b�>�S�e�l�e�c�t�L�i�s�t�<�/�b�>� �&� �<�b�>�M�u�l�t�i�p�l�e�S�e�l�e�c�t�L�i�s�t�<�/�b�>� �C�o�m�p�o�n�e�n�t�s�<�/�i�>�
�
�
�
�|� �N�a�m�e� �|� �T�y�p�e� �|� �D�e�s�c�r�i�p�t�i�o�n� �|�
�
�|� �-�-�-�-� �|� �-�-�-�-� �|� �-�-�-�-�-�-�-�-�-�-�-� �|�
�
�|� �b�o�x�S�t�y�l�e�s�|� �O�b�j�e�c�t�|� �A�d�d�i�t�i�o�n�a�l� �s�t�y�l�e�s� �f�o�r� �s�e�l�e�c�t� �b�o�x� �p�a�r�e�n�t� �w�r�a�p�p�e�r�
�
�|� �i�n�p�u�t�S�t�y�l�e�s�|� �O�b�j�e�c�t�|� �A�d�d�i�t�i�o�n�a�l� �s�t�y�l�e�s� �f�o�r� �t�e�x�t� �o�f� �s�e�l�e�c�t�i�o�n� �b�o�x�
�
�|� �d�r�o�p�d�o�w�n�S�t�y�l�e�s�|� �O�b�j�e�c�t�|� �A�d�d�i�t�i�o�n�a�l� �s�t�y�l�e�s� �f�o�r� �d�r�o�p�d�o�w�n� �s�c�r�o�l�l�v�i�e�w�
�
�|� �d�r�o�p�d�o�w�n�I�t�e�m�S�t�y�l�e�s�|� �O�b�j�e�c�t�|� �A�d�d�i�t�i�o�n�a�l� �s�t�y�l�e�s� �f�o�r� �d�r�o�p�d�o�w�n� �s�i�n�g�l�e� �l�i�s�t� �i�t�e�m�
�
�|� �d�r�o�p�d�o�w�n�T�e�x�t�S�t�y�l�e�s�|� �O�b�j�e�c�t�|� �A�d�d�i�t�i�o�n�a�l� �s�t�y�l�e�s� �f�o�r� �d�r�o�p�d�o�w�n� �l�i�s�t� �i�t�e�m�s� �t�e�x�t�
�
�|� �d�i�s�a�b�l�e�d�I�t�e�m�S�t�y�l�e�s�|� �O�b�j�e�c�t�|� �A�d�d�i�t�i�o�n�a�l� �s�t�y�l�e�s� �f�o�r� �d�i�s�a�b�l�e�d� �d�r�o�p�d�o�w�n� �l�i�s�t� �i�t�e�m�
�
�|� �d�i�s�a�b�l�e�d�T�e�x�t�S�t�y�l�e�s�|� �O�b�j�e�c�t�|� �A�d�d�i�t�i�o�n�a�l� �s�t�y�l�e�s� �f�o�r� �d�i�s�a�b�l�e�d� �d�r�o�p�d�o�w�n� �l�i�s�t� �i�t�e�m�s� �t�e�x�t�
�
�
�
�<�b�r�>�
�
�
�
�#� �=�� �A�d�v�a�n�c�e�d� �U�s�a�g�e�
�
��
��j�s�x�
�
�i�m�p�o�r�t� �{� �S�e�l�e�c�t�L�i�s�t� �}� �f�r�o�m� �'�e�x�p�o�-�d�r�o�p�d�o�w�n�-�s�e�l�e�c�t�-�l�i�s�t�'�
�
�
�
�c�o�n�s�t� �A�p�p� �=� �(�)� �=�>� �{�
�
�
�
� � �c�o�n�s�t� �[�s�e�l�e�c�t�e�d�,� �s�e�t�S�e�l�e�c�t�e�d�]� �=� �R�e�a�c�t�.�u�s�e�S�t�a�t�e�(�"�"�)�;�
�
� � �
�
� � �c�o�n�s�t� �d�a�t�a� �=� �[�
�
� � � � �{�k�e�y�:�'�1�'�,�v�a�l�u�e�:�'�J�a�m�m�u� �&� �K�a�s�h�m�i�r�'�}�,�
�
� � � � �{�k�e�y�:�'�2�'�,�v�a�l�u�e�:�'�G�u�j�r�a�t�'�}�,�
�
� � � � �{�k�e�y�:�'�3�'�,�v�a�l�u�e�:�'�M�a�h�a�r�a�s�h�t�r�a�'�}�,�
�
� � � � �{�k�e�y�:�'�4�'�,�v�a�l�u�e�:�'�G�o�a�'�}�,�
�
� � �]�;�
�
�
�
� � �r�e�t�u�r�n�(�
�
� � � � �<�S�e�l�e�c�t�L�i�s�t� �
�
� � � � � � �o�n�S�e�l�e�c�t�=�{�(�)� �=�>� �a�l�e�r�t�(�s�e�l�e�c�t�e�d�)�}�
�
� � � � � � �s�e�t�S�e�l�e�c�t�e�d�=�{�s�e�t�S�e�l�e�c�t�e�d�}� �
�
� � � � � � �f�o�n�t�F�a�m�i�l�y�=�'�l�a�t�o�'�
�
� � � � � � �d�a�t�a�=�{�d�a�t�a�}� � �
�
� � � � � � �a�r�r�o�w�i�c�o�n�=�{�<�F�o�n�t�A�w�e�s�o�m�e� �n�a�m�e�=�"�c�h�e�v�r�o�n�-�d�o�w�n�"� �s�i�z�e�=�{�1�2�}� �c�o�l�o�r�=�{�'�b�l�a�c�k�'�}� �/�>�}� �
�
� � � � � � �s�e�a�r�c�h�i�c�o�n�=�{�<�F�o�n�t�A�w�e�s�o�m�e� �n�a�m�e�=�"�s�e�a�r�c�h�"� �s�i�z�e�=�{�1�2�}� �c�o�l�o�r�=�{�'�b�l�a�c�k�'�}� �/�>�}� �
�
� � � � � � �s�e�a�r�c�h�=�{�f�a�l�s�e�}� �
�
� � � � � � �b�o�x�S�t�y�l�e�s�=�{�{�b�o�r�d�e�r�R�a�d�i�u�s�:�0�}�}� �/�/�o�v�e�r�r�i�d�e� �d�e�f�a�u�l�t� �s�t�y�l�e�s�
�
� � � � � � �d�e�f�a�u�l�t�O�p�t�i�o�n�=�{�{� �k�e�y�:�'�1�'�,� �v�a�l�u�e�:�'�J�a�m�m�u� �&� �K�a�s�h�m�i�r�'� �}�}� � � �/�/�d�e�f�a�u�l�t� �s�e�l�e�c�t�e�d� �o�p�t�i�o�n�
�
� � � � �/�>�
�
� � �)�
�
�
�
�}�;�
�
�
��
�
�
�
�
�<�b�r�>�
�
�
�
�#� �=�� �G�e�t�t�i�n�g� �O�p�t�i�o�n�s� �F�r�o�m� �D�a�t�a�b�a�s�e�
�
��
��j�s�x�
�
�i�m�p�o�r�t� �{� �S�e�l�e�c�t�L�i�s�t� �}� �f�r�o�m� �'�e�x�p�o�-�d�r�o�p�d�o�w�n�-�s�e�l�e�c�t�-�l�i�s�t�'�
�
�
�
�c�o�n�s�t� �A�p�p� �=� �(�)� �=�>� �{�
�
�
�
� � �c�o�n�s�t� �[�s�e�l�e�c�t�e�d�,� �s�e�t�S�e�l�e�c�t�e�d�]� �=� �R�e�a�c�t�.�u�s�e�S�t�a�t�e�(�"�"�)�;�
�
� � �c�o�n�s�t� �[�d�a�t�a�,�s�e�t�D�a�t�a�]� �=� �R�e�a�c�t�.�u�s�e�S�t�a�t�e�(�[�]�)�;�
�
� � �
�
� � �R�e�a�c�t�.�u�s�e�E�f�f�e�c�t�(�(�)� �=�>� �
�
� � � � �/�/�G�e�t� �V�a�l�u�e�s� �f�r�o�m� �d�a�t�a�b�a�s�e�
�
� � � � �a�x�i�o�s�.�g�e�t�(�'�h�t�t�p�s�:�/�/�j�s�o�n�p�l�a�c�e�h�o�l�d�e�r�.�t�y�p�i�c�o�d�e�.�c�o�m�/�u�s�e�r�s�'�)�
�
� � � � � � �.�t�h�e�n�(�(�r�e�s�p�o�n�s�e�)� �=�>� �{�
�
� � � � � � � � �/�/� �S�t�o�r�e� �V�a�l�u�e�s� �i�n� �T�e�m�p�o�r�a�r�y� �A�r�r�a�y�
�
� � � � � � � � �l�e�t� �n�e�w�A�r�r�a�y� �=� �r�e�s�p�o�n�s�e�.�d�a�t�a�.�m�a�p�(�(�i�t�e�m�)� �=�>� �{�
�
� � � � � � � � � � �r�e�t�u�r�n� �{�k�e�y�:� �i�t�e�m�.�i�d�,� �v�a�l�u�e�:� �i�t�e�m�.�n�a�m�e�}�
�
� � � � � � � � �}�)�
�
� � � � � � � � �/�/�S�e�t� �D�a�t�a� �V�a�r�i�a�b�l�e�
�
� � � � � � � � �s�e�t�D�a�t�a�(�n�e�w�A�r�r�a�y�)�
�
� � � � � � �}�)�
�
� � � � � � �.�c�a�t�c�h�(�(�e�)� �=�>� �{�
�
� � � � � � � � �c�o�n�s�o�l�e�.�l�o�g�(�e�)�
�
� � � � � � �}�)�
�
� � �,�[�]�)�
�
�
�
� � �r�e�t�u�r�n�(�
�
� � � � �<�S�e�l�e�c�t�L�i�s�t� �s�e�t�S�e�l�e�c�t�e�d�=�{�s�e�t�S�e�l�e�c�t�e�d�}� �d�a�t�a�=�{�d�a�t�a�}� �o�n�S�e�l�e�c�t�=�{�(�)� �=�>� �a�l�e�r�t�(�s�e�l�e�c�t�e�d�)�}� �/�>�
�
� � �)�
�
�
�
�}�;�
�
�
��
�
�
�
�
�<�b�r�>�
�
�
�
�#� �=�'� �A�d�d�i�t�i�o�n�a�l� �P�r�o�p�s�
�
�<�i�>�A�p�p�l�i�c�a�b�l�e� �o�n� �<�b�>�M�u�l�t�i�p�l�e�S�e�l�e�c�t�L�i�s�t�<�/�b�>� �O�n�l�y�<�/�i�>�
�
�
�
�|� �N�a�m�e� �|� �T�y�p�e� �|� �D�e�s�c�r�i�p�t�i�o�n� �|�
�
�|� �-�-�-�-� �|� �-�-�-�-� �|� �-�-�-�-�-�-�-�-�-�-�-� �|�
�
�|� �l�a�b�e�l�|� �s�t�r�i�n�g�|� �P�a�s�s� �a�n�y� �s�t�r�i�n�g� �t�o� �b�e� �p�l�a�c�e�d� �i�n�s�t�e�a�d� �o�f� �d�e�f�a�u�l�t� �l�a�b�e�l�
�
�
�
�
�
�<�b�r�>�
�
�
�
�#� �=�'� �A�d�d�i�t�i�o�n�a�l� �S�t�y�l�e� �P�r�o�p�s�
�
�<�i�>�A�p�p�l�i�c�a�b�l�e� �o�n� �<�b�>�M�u�l�t�i�p�l�e�S�e�l�e�c�t�L�i�s�t�<�/�b�>� �O�n�l�y�<�/�i�>�
�
�
�
�|� �N�a�m�e� �|� �T�y�p�e� �|� �D�e�s�c�r�i�p�t�i�o�n� �|�
�
�|� �-�-�-�-� �|� �-�-�-�-� �|� �-�-�-�-�-�-�-�-�-�-�-� �|�
�
�|� �d�i�s�a�b�l�e�d�C�h�e�c�k�B�o�x�S�t�y�l�e�s�|� �O�b�j�e�c�t�|� �A�d�d�i�t�i�o�n�a�l� �s�t�y�l�e�s� �d�i�s�a�b�l�e�d� �c�h�e�c�k�b�o�x� �i�n�s�i�d�e� �d�r�o�p�d�o�w�n�
�
�|� �c�h�e�c�k�B�o�x�S�t�y�l�e�s�|� �O�b�j�e�c�t�|� �A�d�d�i�t�i�o�n�a�l� �s�t�y�l�e�s� �f�o�r� �a�c�t�i�v�e� �c�h�e�c�k�b�o�x�
�
�|� �b�a�d�g�e�S�t�y�l�e�s�|� �O�b�j�e�c�t�|� �A�d�d�i�t�i�o�n�a�l� �s�t�y�l�e�s� �f�o�r� �b�a�d�g�e�s� �o�f� �s�e�l�e�c�t�e�d� �v�a�l�u�e�s�
�
�|� �b�a�d�g�e�T�e�x�t�S�t�y�l�e�s�|� �O�b�j�e�c�t�|� �A�d�d�i�t�i�o�n�a�l� �s�t�y�l�e�s� �f�o�r� �T�e�x�t� �o�f� �b�a�d�g�e�s� �o�f� �s�e�l�e�c�t�e�d� �v�a�l�u�e�s�
�
�|� �l�a�b�e�l�S�t�y�l�e�s�|� �O�b�j�e�c�t�|� �A�d�d�i�t�i�o�n�a�l� �s�t�y�l�e�s� �f�o�r� �l�a�b�e�l� �o�f� �m�u�l�t�i�p�l�e� �s�e�l�e�c�t� �l�i�s�t�
�
�
�
�<�b�r�>�
�
�