config.item_edit.item.details.status - Initialization - Author API

Author API Initialization

status

Configuration options for the status drop-down menu.

Values

Attribute path config.item_edit.item.details.status

Type object

Properties

  • edit boolean

    Controls whether the status option can be changed.

    You would want to use this to prevent authors from changing an Item's status.

    Default: true

    var initializationOptions = {
                    "config": {
                        "item_edit": {
                            "item": {
                                "details": {
                                    "status": {
                                        "edit": false
                                    }
                                }
                            }
                        }
                    }
                };
                
  • show boolean

    Controls whether the status drop-down menu is shown.

    You would want to use this to hide the status from authors.

    Default: true

    var initializationOptions = {
                    "config": {
                        "item_edit": {
                            "item": {
                                "details": {
                                    "status": {
                                        "show": false
                                    }
                                }
                            }
                        }
                    }
                };
                
Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.