Edit in GitHubLog an issue

Hidden component

The Hidden component is a form element that implements the HTML <input type="hidden"> field.

Options

OptionDescriptionTypeDefault
component
The path to the component’s JS constructor in terms of RequireJS.
String
Magento_Ui/js/form/element/abstract
template
The path to the component’s .html template.
String
ui/form/element/hidden

Source files

Extends UiElement:

Examples

Integration

This example integrates the Hidden component with the Form component.

Copied to your clipboard
<form>
...
<fieldset>
...
<hidden name="hidden_example">
<settings>
<value>hidden value</value>
</settings>
</hidden>
</fieldset>
</form>

Result

Hidden Component example

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