package.json 3.49 KB
{
  "name": "@bootstrap-vue/form",
  "version": "1.0.0",
  "meta": {
    "title": "Form",
    "description": "Form component and form helper components that optionally supports inline form styles and validation states.",
    "slug": "form",
    "components": [
      {
        "component": "BForm",
        "props": [
          {
            "prop": "inline",
            "description": "When set, the form will be in inline mode which display labels, form controls, and buttons on a single horizontal row"
          },
          {
            "prop": "novalidate",
            "description": "When set, disables browser native HTML5 validation on controls in the form"
          },
          {
            "prop": "validated",
            "description": "When set, adds the Bootstrap class 'was-validated' on the form, triggering the native browser validation states"
          }
        ],
        "events": [
          {
            "event": "submit",
            "description": "Emitted when the form is being submitted",
            "args": [
              {
                "arg": "event",
                "type": "Event",
                "description": "Native submit event"
              }
            ]
          }
        ],
        "slots": [
          {
            "name": "default",
            "description": "Content to place in the form"
          }
        ]
      },
      {
        "component": "BFormText",
        "props": [
          {
            "prop": "inline",
            "description": "When set, renders the help text as an inline element, rather than a block element"
          },
          {
            "prop": "textVariant",
            "description": "Applies one of the Bootstrap theme color variants to the text"
          }
        ],
        "slots": [
          {
            "name": "default",
            "description": "Content to place in the form text"
          }
        ]
      },
      {
        "component": "BFormInvalidFeedback",
        "props": [
          {
            "prop": "forceShow",
            "description": "Shows the feedback text, regardless of the value of the 'state' prop"
          },
          {
            "prop": "state",
            "description": "When explicitly 'false', forces the feedback to show"
          },
          {
            "prop": "tooltip",
            "description": "Renders the feedback text in a rudimentary tooltip style"
          }
        ],
        "slots": [
          {
            "name": "default",
            "description": "Content to place in the form invalid feedback"
          }
        ]
      },
      {
        "component": "BFormValidFeedback",
        "props": [
          {
            "prop": "forceShow",
            "description": "Shows the feedback text, regardless of the value of the 'state' prop"
          },
          {
            "prop": "state",
            "description": "When explicitly 'true', forces the feedback to show"
          },
          {
            "prop": "tooltip",
            "description": "Renders the feedback text in a rudimentary tooltip style"
          }
        ],
        "slots": [
          {
            "name": "default",
            "description": "Content to place in the form valid feedback element"
          }
        ]
      },
      {
        "component": "BFormDatalist",
        "aliases": [
          "BDatalist"
        ],
        "slots": [
          {
            "name": "default",
            "description": "Content to place in the from datalist"
          }
        ]
      }
    ]
  }
}