/
Smart Form
Smart Form
The Smart Form provides a container for other SmartComponents NG2 components. The Smart Form declares the Type Script controller class that should handle events raised by the components.
Sample markup
<smart-form smart-form-layout="<layout_url>" (onReady)="formReady($event)"></smart-form>
<smart-form [component-type]="MyComponentType"></smart-form>
Description
Attribute | Description |
---|---|
smart-form-layout | The layout URL or object that the Smart Form should render. |
component-type | This setting allows you to render custom components as part of the Smart Form, without a JSON layout. |
onReady | An event that fires when the Smart Form has finished initialising. |
, multiple selections available,
Related content
Generating a SmartForm using the CLI Tool
Generating a SmartForm using the CLI Tool
More like this
JSON Configuration
JSON Configuration
More like this
SmartComponents CLI Tool
SmartComponents CLI Tool
More like this
Smart Viewer Registry
Smart Viewer Registry
More like this
Smart Form JSON Layouts
Smart Form JSON Layouts
More like this
Smart Navigation Service
Smart Navigation Service
More like this