How we are Integrate the Checkboxset component with the Form in Uicomponent

How we are Integrate the Checkboxset component with the Form in Uicomponent


Explane - The Checkboxset component implements a group of <input type="checkbox"> or <input type="radio"> selection elements.

Hi Magento friend today's i'm share How we are Integrate the Checkboxset component with the Form in Uicomponent - 


<form>

    <fieldset>

        <checkboxset name="checkboxset_example">

            <argument name="data" xsi:type="array">

                <item name="config" xsi:type="array">

                    <item name="additionalInfo" xsi:type="string">Additional information</item>

                </item>

            </argument>

            <settings>

                <label translate="true">Checkboxset Component Example</label>

                <options>

                    <option name="0" xsi:type="array">

                        <item name="value" xsi:type="number">1</item>

                        <item name="label" xsi:type="string" translate="true">Option #1</item>

                    </option>

                    <option name="1" xsi:type="array">

                        <item name="value" xsi:type="number">2</item>

                        <item name="label" xsi:type="string" translate="true">Option #2</item>

                    </option>

                    <option name="2" xsi:type="array">

                        <item name="value" xsi:type="number">3</item>

                        <item name="label" xsi:type="string" translate="true">Option #3</item>

                    </option>

                </options>

            </settings>

        </checkboxset>

    </fieldset>

</form>



How we are Integrate the Checkboxset component with the Form in Uicomponent


Deepak Kumar Bind

Success is peace of mind, which is a direct result of self-satisfaction in knowing you made the effort to become the best of which you are capable.

Post a Comment

If you liked this post please do not forget to leave a comment. Thanks

Previous Post Next Post