Number Field
Schema definition:
import defineField from '@/lib/field/defineField'
defineField({
id: 'name'
type: 'number',
precision: 2,
allowNegativeNumbers: true
})
Format as text
{
"text": "20.99"
}
Change Details
{
"prev" : null,
"next" : 20.99,
"userId" : "root",
"supervisorId" : null,
"operation" : "add",
"source" : "user",
"type" : "text",
"time" : "2023-12-26T09:29:50.411Z"
}
TODO: demo number field prev next