---
category: [Administration & Integrations, Platform and Product Extensions, Platform and Product Extensions/Integration, Administration & Integrations/Custom Integrations & Apps, Platform and Product Extensions/Workday Extend]
keyword: [Extend, Presentation Components, widgets, tags, UI components]
nav: wcp_docs
parent_url: /wcp_docs/
title: superEdit
layout: subsection
wd_wcptag: superEdit
---

<a id="section_N10021_N1001E_N10001"></a>
A container that enables children widgets to toggle between read-only and editable modes. You can only use this tag on edit pages, as it causes errors on view pages.

By default, superEdit has a narrow layout unless you set the `wideView` attribute to true. Within the narrow layout, superEdit must contain all other widgets on the page or else it won’t display properly. The `enabled` attribute determines whether or not you can toggle `superEdit`. When you set the `enabled` attribute to true, a pencil button displays on the widget that users can select to switch from a read-only to an editable mode.

Use `superEdit` when you want to users to be able to toggle widgets from read-only to an editable mode.

## <a id="section-mobile-support"></a>Mobile Support

Android, iOS

## <a id="section_kt1_dkg_5cb"></a>Attributes

-   <b>children</b>

    Data type: list of tags

    An array of tags that belong to this parent tag.

-   <b>editOnly</b>

    Data type: binding-Boolean

    Determines whether or not to display a view option. If you set `"editOnly": "false"` or don’t set any value, the widget displays a pencil button. Users click the button to toggle between read-only and edit views on the widget. If you set `"editOnly": "true"`, the superEdit tag makes children widgets editable and disables the pencil button.

-   <b>enabled</b>

    Data type: dynamicBinding-Boolean

    If true, users can enter values on the widget. If false, users can only view the widget.

-   <b>helpText</b>

    Data type: binding-String

    Text that displays when a user hovers their cursor over the widget.

    <b>Note:</b> The Chrome browser truncates the tooltip to 1400 characters.

-   <b>id</b>

    Data type: binding-String

    Unique identifier used to reference this widget from other tags.

    Notes:

    -   The `id` must start with a letter.
    -   The `id` must be unique per page.
    -   To enable other widgets to reference this widget `id`, place this widget before the other widgets on the PMD. The PMD validation returns an "Undefined variable" error if it doesn't find a previously defined `id` in the PMD.
    -   Workday recommends that you include the `id` in your tag definitions for debugging purposes.

-   <b>label</b>

    Data type: dynamicBinding-String

    Text that displays beside or above most widgets. Often used in simple widgets that include inputs.

    The maximum number of characters is 255.

-   <b>render</b>

    Data type: binding-Boolean

    If true, this tag renders as a widget on the page. If false, the loaded page doesn't add this tag or its children. The default is true.

    Unlike the `visible` attribute, when `render` is false, other tags on the page can't reference this tag or widget on edit pages. On view pages, a tag can't reference other tags regardless of the `render` attribute value.

-   <b>required</b>

    Data type: dynamicBinding-Boolean

    If true, the user must enter a value on the widget before submitting the page.

-   <b>sortOrder</b>

    Data type: binding-String

    When you set `sorted` to true on the `section` or `fieldSet` parent of this widget, the `sortOrder` attribute determines the order of this widget within its parent. The sort order is relative to the siblings of the widget.

    Typical values are "a", "b", "c", and so on. Example: The widget with `"sortOrder": "a"` displays before the widget with `"sortOrder": "b"`.

    <b>Note:</b> The `sortOrder` doesn't apply to sorting data on the widget. `sortOrder` only applies to the placement order of the widgets within the parent widget.

-   <b>visible</b>

    Data type: dynamicBinding-Boolean

    If true, the widget generated by this tag is visible. If false, this tag and its children tags aren't visible. This tag provides the ability to display or hide the widget dynamically based on user interactions on the page. The default is true. Unlike the `render` attribute, the generated widget persists on the page even when `visible` is false.

    <b>Notes:</b>

    -   When the widget or field you’re hiding changes on the page, you must include it inside a `fieldSet`.
    -   When the `visible` attribute is false for this widget on an edit page, the outbound endpoint doesn't include the `valueOutBinding` or `valuesOut` data of the widget in the payload. To include the `valueOutBinding` or `valuesOut` data in the payload, use the `onSend` event handler.

-   <b>wideView</b>

    Data type: binding-Boolean

    Defines the width of the superEdit.

    Set to:

    -   False to display the widget in a narrow layout.
    -   True to fill the widget to the width of the page.

    If the superEdit widget contains a grid and you set this attribute to false, the grid might not display properly.



