Number types do not set 'min' and 'max' atributes
Anthropic opened this issue · 1 comments
Anthropic commented
@Otherkade wrote:
When my field is generated as a type number with a minimum and maximum, the min and max correctly validate input, but the min and max attributes aren't set on the input, so the up/down arrows still let a user go above/below the boundaries.
Moved from the main Angular repo
json-schema-form/angular-schema-form#539
Anthropic commented
Added to webpack branch for v1.0
https://github.com/json-schema-form/angular-schema-form/blob/b5977219a14e2de148b2f8b12197a32b3b7977d8/src/services/builder.js#L162