PrimeFormProps
PrimeNG-specific props that can be set at form level and cascade to all fields.
This is the same type as used in . Using a single type ensures consistency between library-level and form-level configuration.
The cascade hierarchy is: Library-level → Form-level → Field-level
Presentation
type PrimeFormProps = PrimeNGConfig ;Example usage
const config: PrimeFormConfig = {
defaultProps: {
size: 'small',
variant: 'filled',
},
fields: [
{ type: 'prime-input', key: 'name', label: 'Name' },
],
};