Changed on:
4 July 2024
The Retailer ID Field Component is a component that allows users to provide Retailer ID on the UI.
Plugin Name | Core |
---|
The standard library of mystique components.
Initial changelog entry.
fc.attribute.retailerId, fc.mutation.retailerId, retailerId
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:
Retailer Id is a mandatory field from a backend perspective, but we must avoid System validation in the second case.
The retailer Id field has two states:
Validation: there is no validation (for Primary Retailer) from the backend perspective when we click on the drawer's SUBMIT button.
a. When the retailer’s list contains one to three values:
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).
N/A
1{
2 "overrides": {
3 "primaryRetailer": {
4 "component":"fc.attribute.retailerId"
5 }
6 }
7}
Language: json
The retailer ID was moved to core and aliased under "fc.mutation.retailerId" and "retailerId".
It now shows up for all mutations that have a retailerId type field.
n/a
N/A
Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.