Changed on:
4 July 2024
The Location ID Field Component is a component that allows users to provide location ID on the UI.
Plugin Name | Core |
---|
The standard library of mystique components.
Initial changelog entry.
fc.attribute.locationId, locationId
fc.attribute.locationId is a custom field that allows users to specify a location in a form. The field’s key feature is the possibility to add a Location Id only in situations when it is necessary. Let’s consider the following situations when a user is created:
Location Id is a mandatory field from backend perspective, but in the second case we need to avoid System validation.
Location Id field has two states:
Validation: there is no validation (for Primary Location) from the backend perspective when we click on the drawer's SUBMIT button.
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).
None
1{
2 "overrides": {
3 "primaryRetailer": {
4 "component":"fc.attribute.locationId"
5 }
6 }
7}
Language: json
The Location ID field was moved to core and additionally aliased as "locationId"
The field now shows up for all mutations that has a locationId type field.
Initial changelog entry.
This component was designed to be used inside the Create User drawer.
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.