3.0.0.RC1 - f:all - Invalid markup is being generated for numeric fields. Commas are added to type number.
Open
relates-to: grails-fields
- Dominant language
- Groovy
- Stars
- 2.9k
- Forks
- 975
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 92
Description
I have created a very basic grails 4.0.0.RC1 app to demonstrate the problem:
https://github.com/codeconsole/grailsnumberbug
```
package numberbug
class Bug {
int num = 123456789
static constraints = {
}
}
```
``
creates an input field
``
which is not valid markup in either Chrome or Safari.
The default behavior should be to not put commas in numbers due to the fact it breaks everything
Contributor guide
Assessment
This issue has not been assessed yet.