Retailer Id Field Component
UI Component
Changed on:
15 July 2024
Overview
The Retailer ID Field Component is a component that allows users to provide Retailer ID on an OMX app.| Plugin Name | Core |
|---|
Alias
fc.attribute.retailerId, fc.mutation.retailerId, retailerId
Detailed technical description
This field's key feature is the possibility to add a Retailer Id only in situations when it is necessary. Let’s consider the following situations when a user is created:
Validation: there is no validation (for Primary Retailer) from the backend perspective when we click on the drawer's SUBMIT button.
b. When the retailer’s list contains more than three values:
Validation: When a user clicks on the drawer’s SUBMIT button, the field with the Retailer Id parameter will be validated as well as other fields (it is impossible to send an empty value).
- When a new user with user type “RETAILER” is created, the Retailer Id is a required parameter.
- When a user with another type is created, the primary Retailer Id is an optional parameter.
- Default state when + ADD RETAILER button is not pressed on
Validation: there is no validation (for Primary Retailer) from the backend perspective when we click on the drawer's SUBMIT button.- + ADD RETAILER button is pressed on
b. When the retailer’s list contains more than three values:
Validation: When a user clicks on the drawer’s SUBMIT button, the field with the Retailer Id parameter will be validated as well as other fields (it is impossible to send an empty value).Properties
N/A
Configuration example
1{
2 "overrides": {
3 "primaryRetailer": {
4 "component":"fc.attribute.retailerId"
5 }
6 }
7}Version History
See previous versions
2023-07-31
v23.7.31
n/aRecommended Placement
N/A


