Input

Inputs that accept typed input from users

Contents

Min value

Minimum input values are used to enforce a user to buy a minimum number or amount of bids. This is also the only place where increment buttons are used.

Setting minimum values

Typically, the value of an accepted input field is greater than 0. Avoid allowing users to enter negative values in inputs.

Do

Don't

Inputs in Min value
minValue ?: number

Set a minimum value for number inputs

Also set in this example
control : FormControl<T>
type : IsAny<T> extends true ? any : [T] extends [number] ? InputType.NUMBER | InputType.NUMBER_INCREMENT : [T] extends [string] ? InputType.CURRENCY | ... 4 more ... | InputType.SEARCH : never

Declared as an `@Input()` by each concrete component, which narrows it to the types that component actually renders. Not an input on its own.

Outputs
iconEndClick ?: any = new EventEmitter<MouseEvent>()
iconStartClick ?: any = new EventEmitter<MouseEvent>()
onBlur ?: any = new EventEmitter<void>()
onFocus ?: any = new EventEmitter<void>()