react-inline-form-component
v2.4.0
Published
an inline function which will create form components
Downloads
46
Maintainers
Readme
��#� �S�h�o�r�t�C�u�t�s� �f�o�r� �R�e�a�c�t� �f�o�r�m�s� �c�o�m�p�o�n�e�n�t�s�
�
�
�
�#�#� � �C�u�r�r�e�n�t�l�y� �A�v�a�i�l�a�b�l�e� �S�h�o�r�t�C�u�t�s�
�
�
�
�#�#�#� �1�.� �I�n�p�u�t�.�\�
�
�#�#�#� �2�.� �S�e�l�e�c�t�.�\�
�
�
�
�#�#� �H�o�w� �t�o� �i�m�p�o�r�t�:� �
�
��i�m�p�o�r�t� �{�I�n�p�u�t�}� �f�r�o�m� �'�r�e�a�c�t�-�i�n�l�i�n�e�-�f�o�r�m�s�-�c�o�m�p�o�n�e�n�t�'��
�
�
�
� �1�.� �I�n�p�u�t� �f�u�n�c�t�i�o�n�:� �
�
� �I�n�p�u�t�(�t�y�p�e�,� �c�l�a�s�s�N�a�m�e�,� �n�a�m�e�,� �v�a�l�u�e�,� �i�d�,� �p�l�a�c�e�h�o�l�d�e�r�,� �o�n�C�h�a�n�g�e�,� �d�i�s�a�b�l�e�d�)�.�\�
�
� ��e�g�:� �I�n�p�u�t�(�t�e�x�t�,� �'�c�l�a�s�s�A�,� �c�l�a�s�s�B�'�,� �'�f�o�o�'�,� �'�b�a�r�'�,� �'�f�o�o�'�,� �'�E�x�a�m�p�l�e�'�,� �h�a�n�d�l�e�C�h�a�n�g�e�,� �f�a�l�s�e�)��.�\�
�
�
�
� �2�.� �S�e�l�e�c�t� �f�u�n�c�t�i�o�n�:� �
�
� �S�e�l�e�c�t�(�s�e�l�e�c�t�C�l�a�s�s�N�a�m�e�,� �o�p�t�i�o�n�s�C�l�a�s�s�N�a�m�e�,� �N�a�m�e�,� �v�a�l�u�e�,� �i�d�,� �o�n�C�h�a�n�g�e�,� �a�r�r�)�.�\�
�
� �w�h�e�r�e� �a�r�r� �i�s� �a�n� �a�r�r�a�y� �o�f� �o�p�t�i�o�n�s� �v�a�l�u�e�
�
� ��e�g�:� �S�e�l�e�c�t�(�'�c�l�a�s�s�e�s�A�'�,� �'�c�l�a�s�s�e�s�B�'�,� �'�c�a�r�s�'�,� �'�c�a�r� �A�'�,� �'�c�a�r�s�'�,� �h�a�n�d�l�e�C�h�a�n�g�e�,� �a�r�r�)��
�
�
�
�
�
�
