Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

List Of Components

  1. Textbox

  2. Textarea

  3. Checkbox

  4. Select

  5. MultiSelect

  6. Topic Selector

  7. Timer

  8. Keywords

  9. Framework

  10. FrameworkCategorySelect

{
    "code": string, // property to match the backend schema ("name", "description", etc...)
    "visible": boolean, // to hide or show the field 
    "editable": boolean, // to enable or disable the field
    "dataType": string, // to specify the datatype of the field outcome ("list", "number", "text")
    "inputType": string, // to map the field type and the component ("text", "textarea", "select", "nestedselect", etc)
    "renderingHints": json, // to specify any additional configuration ex:({"class": "sb-g-col-lg-1 required"})
    "description": string, // to specify description about the field and to show as tooltip
    "label": string, // title of the field 
    "required": boolean, // to specify if the field is mandatory or not (currently, not used.)
    "name": string, // name of the field ("Name", "Board", "Medium", "License", "Copyright Year", etc)
    "placeholder": string, // placeholder text to appear within the field
    "output": string, // this field is specific to framework terms and it's associations. The field will decide the property for the field outcome ex:("name", "label", "identifier")
    "sourceCategory": string, // this field is specific to framework categories to map the category and 
    "depends": array,
    "range": array,
    "options": array/function, 
    "validations": [
        {
            "type": "required",
            "message": "Course Type is required"
        }
    ]
}

  • No labels