- added clear icon for dynamic data dropdown;
This commit is contained in:
@@ -35,7 +35,7 @@ const dynamicDataForTextinput = [
|
|||||||
{ label: 'cognome utente', value: 'user.lastName' },
|
{ label: 'cognome utente', value: 'user.lastName' },
|
||||||
{ label: 'numero di telefono utente', value: 'user.phoneNumber' },
|
{ label: 'numero di telefono utente', value: 'user.phoneNumber' },
|
||||||
{ label: 'codice fiscale utente', value: 'user.codiceFiscale' },
|
{ label: 'codice fiscale utente', value: 'user.codiceFiscale' },
|
||||||
{ label: 'nome del rappresentante', value: 'custom.legalRepresentant' },
|
{ label: 'nome e cognome del rappresentante', value: 'custom.legalRepresentant' },
|
||||||
{ label: 'nome e cognome utente', value: 'custom.userFullName' },
|
{ label: 'nome e cognome utente', value: 'custom.userFullName' },
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -169,6 +169,7 @@ const BuilderElementSettings = ({ closeSettingsFn, callStatus, context }) => {
|
|||||||
options={getDynamicDataOptions(activeElementData.name)}
|
options={getDynamicDataOptions(activeElementData.name)}
|
||||||
optionLabel="label"
|
optionLabel="label"
|
||||||
optionValue="value"
|
optionValue="value"
|
||||||
|
showClear
|
||||||
placeholder={__('Scegli', 'gepafin')}/>
|
placeholder={__('Scegli', 'gepafin')}/>
|
||||||
</div> : null}
|
</div> : null}
|
||||||
</TabPanel>
|
</TabPanel>
|
||||||
@@ -203,6 +204,7 @@ const BuilderElementSettings = ({ closeSettingsFn, callStatus, context }) => {
|
|||||||
options={customValidationOptions}
|
options={customValidationOptions}
|
||||||
optionLabel="label"
|
optionLabel="label"
|
||||||
optionValue="value"
|
optionValue="value"
|
||||||
|
showClear
|
||||||
placeholder={__('Scegli', 'gepafin')}/>
|
placeholder={__('Scegli', 'gepafin')}/>
|
||||||
</div>
|
</div>
|
||||||
: null}
|
: null}
|
||||||
|
|||||||
Reference in New Issue
Block a user