{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "description": "# drayman-textarea-field\n\nTextarea field powered by [Angular Material](https://material.angular.io/) library.\n\n## Example of usage\n\n![](media://drayman-textarea-field.gif)\n\n```typescript\nmodule.exports = async ({ forceUpdate }) => {\n     let text = 'Hello, <b>world</b>!';\n\n     const onValueChange = async ({ value }) => {\n         text = value;\n         await forceUpdate();\n     }\n\n     return () => {\n         return [\n             <drayman-textarea-field\n                 key=\"default-textarea-field\"\n                 label=\"Text\"\n                 onValueChange={onValueChange}\n                 value={text}\n             />,\n             <html key=\"text\">{text && <p>{text}</p>}</html>\n         ]\n     };\n}\n```",
    "properties": {
        "appearance": {
            "description": "Appearance style for the field.\nWether `outline` (default), `legacy`, `fill` or `standard`.",
            "enum": [
                "fill",
                "legacy",
                "outline",
                "standard"
            ],
            "type": "string"
        },
        "disabled": {
            "description": "Whether the control is disabled.",
            "type": "boolean"
        },
        "error": {
            "description": "Error text to be shown underneath the form field control.",
            "type": "string"
        },
        "helpText": {
            "description": "Hint text to be shown underneath the form field control.",
            "type": "string"
        },
        "label": {
            "description": "The floating label for a field.",
            "type": "string"
        },
        "onValueChange": {
            "description": "Executed with an input value from user.",
            "type": "object"
        },
        "onValueChangeStart": {
            "description": "Executed when user starts typing.",
            "type": "object"
        },
        "placeholder": {
            "description": "The placeholder text.",
            "type": "string"
        },
        "rows": {
            "description": "The number of visible text lines for the control.",
            "type": "number"
        },
        "updateOnBlur": {
            "description": "Wether value of the field should be emitted when user is blurred out of the control.",
            "type": "boolean"
        },
        "value": {
            "description": "Value of the input.",
            "type": "string"
        }
    },
    "type": "object"
}

