|
Properties |
---|
The container hosts the form within a siResizeContainer to configure the breakpoint for different screen sizes. Optionally, change the container breakpoints with the contentContainerBreakpoints input. contentContainerBreakpoints: InputSignal <(undefined | Breakpoints )> = ... | A map the maps from control names of the form to their translate keys. The initial map is empty and the user is responsible to add the required translate keys. controlNameTranslateKeyMap: InputSignal <Map <string , string >> = new Map<string, string>() | In some scenarios, one may not want the form container to be responsible for the layout relevant si-container-[xs|...] classes, but let this be done by a different, nested component, e.g. by a group box. In these cases, the property should be set to true. disableContainerBreakpoints: InputSignalWithTransform <boolean , unknown > = false | Disables the automatic error printing in all nested SiFormItemComponent . Error printing will be enabled by default in v46. disableErrorPrinting: InputSignalWithTransform <boolean , unknown > = false | Every validation error has an errorCode. This map holds translate keys for error codes. The keys can be used to display a translated message for each validation error. The defaults old english readable key defaults for the Angular standard validators of the Validators class like min , max or required . Use the input to set your own translate keys for the form validators you need. errorCodeTranslateKeyMap: InputSignal <(undefined | SiFormValidationErrorMapper | Map <string , string >)> = ... | errorResolver: SiFormValidationErrorService = ... | Set the form entity to the container to enable the overall form validation on in the form container edit panel. form: InputSignal <(undefined | FormGroup <TControl >)> = ... | formErrorMapper: Signal <{ [ key: string ]: (undefined | string | (error: any ) => string ) } }> = ... | hasParentContainer: boolean = ... | A custom width value to be applied to all labels. Example: labelWidth: InputSignal <(undefined | string )> = ... | A form container in readonly mode is only displaying the form content without ability to change it. The edit panel with typically save and cancel buttons is hidden. Set to true to display the edit panel. readonly: InputSignalWithTransform <boolean , unknown > = false |
|
|
|