Fluent Commerce Logo
Docs
Sign In

Attribute Input Component

UI Component

Changed on:

13 Dec 2023

Overview

The Attribute Input Component is a default field component that allows you to add / edit Fluent entity Attributes in a drawer.

No alt text provided
Plugin NameCore

The standard library of mystique components. 

0000-00-00

v1.0.0

Initial changelog entry.

Alias

AttributeInput.list

Detailed technical description

The Attribute Input Component has two states:

No alt provided

State 1: This is the default state before the + ADD ATTRIBUTE button is pressed

No alt provided

Sate 2: Once the + ADD ATTRIBUTE button is pressed, the Attribute drawer will open

An Attribute has three mandatory fields: 

  • Type: Attributes can be of type STRING, INTEGER, BOOLEAN, JSON, or Other 
  • Name: Name of the Attribute 
  • Value: Value of the Attribute 

There are no limits on the number of Attributes a user can add. 

  • All attributes will be validated in the front end on submission.
  • The user must provide a value for each field. (type, name, and value)
  • The value field will be validated to ensure it matches the selected type.
  • There is no backend validation for Attributes on submission.

Properties

N/A

Version History

0000-00-00

v1.0.0

Initial changelog entry.

Recommended Placement

None

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.

Fluent Logo