RazorFormsOptions

Extends: (none)

The RazorFormsOptions class is used to store the entire RazorForms configuration. This class is injected into RazorForms as a singleton into your service collection when you call UseRazorForms() or a library-specific extension method such as UseRazorFormsWithBulma().

RazorFormsOptions contains a single property for each tag helper in RazorForms. Each of these properties contains the configuration options for its respective tag helper.

CheckInputOptions

Type: RazorForms.Options.FormComponentOptions

This property contains the configuration options for the <check-input> tag helper.

RadioInputOptions

Type: RazorForms.Options.FormComponentOptions

This property contains the configuration options for the <radio-input> tag helper.

TextInputOptions

Type: RazorForms.Options.ValidityAwareFormComponentOptions

This property contains the configuration options for the <text-input> tag helper.

TextAreaInputOptions

Type: RazorForms.Options.ValidityAwareFormComponentOptions

This property contains the configuration options for the <text-area-input> tag helper.

SelectInputOptions

Type: RazorForms.Options.ValidityAwareFormComponentOptions

This property contains the configuration options for the <select-input> tag helper.

CheckInputGroupOptions

Type: RazorForms.Options.ValidityAwareFormComponentOptions

This property contains the configuration options for the <check-input-group> tag helper.

RadioInputGroupOptions

Type: RazorForms.Options.ValidityAwareFormComponentOptions

This property contains the configuration options for the <radio-input-group> tag helper.