cancel
Showing results for 
Search instead for 
Did you mean: 

Backstore - password input with uiComponent

Backstore - password input with uiComponent

Hi everyone,

 

I'm doing a new module which handles an entity that will be associated an backstore user. Into the entity's edition page I want create a tab where you could create the backstore user (username, firstname, lastname, email, password and password confirmation) I'm doing it with uiComponent.

My problem is that I want to create an input type password but seems there isn't no formElement for this kind of input.

 

<field name="password">
            <argument name="data" xsi:type="array">
                <item name="config" xsi:type="array">
                    <item name="dataType" xsi:type="string">password</item>
                    <item name="formElement" xsi:type="string">input</item>
                    <item name="source" xsi:type="string">user</item>
                    <item name="visible" xsi:type="string">true</item>
                    <item name="label" xsi:type="string">Password</item>
                </item>
            </argument>
        </field>

 

Thanks in advance!!

Santi