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

Author API Initialization

source

Configuration options for the source.

Values

Attribute path config.item_edit.item.details.source

Type object

Properties

  • edit boolean

    Controls whether the source field can be changed.

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

    Default: true

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

    Controls whether the source field is shown.

    You would want to use this to allow authors to edit the source information for an Item.

    Default: false

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

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