Edit in GitHubLog an issue

Use default configuration

In the Admin some textfields can inherit default values (which have been set in config by the Merchant). A user has the ability to overwrite these default values at the page level. The "Use Default Value" or "Use Configuration Value" controls allow the user to revert an overwritten textfield value to the original default value.

When to Use

To be used when a text field inherits its value by default. It can be overridden by the user. If the user has overridden the default value this control provides a convenient method to recover the original inherited value.

When Not to Use

When the value of a textfield does not have a default value set.

Behavior

defaultconfig behavior

Style

defaultconfig style

Variations

There are two variations. The behavior and style remains the same. The label is changed to identify the origin of this value.

"Use Default Value"

Value is taken from default scope and user needs to switch to default scope to change the default value

variation1

"Use Configuration Value"

Value is set in Stores > Store configuration and user has to go there to change the default.

variation2

Accessibility

User should be able to access this control via their keyboard and it should be legible if the user use voice navigation. Follow this accessibility guideline: http://www.w3.org/TR/WCAG10-HTML-TECHS/#link

  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.