You want to type decimal, but use digitOnly, so you can't. so use step="0.01"

so that after adding, your value is number

`
problem`

`html

Regular Price

This field is required.

`

solution
`html

Regular Price

This field is required.

`