fix: number storage type changed to double (#810)
This commit is contained in:
parent
c50a1923f4
commit
2e8d27bf42
@ -1,6 +1,6 @@
|
|||||||
|
import { i18n } from '../../i18n';
|
||||||
import { defaultProps, operators, unique } from './properties';
|
import { defaultProps, operators, unique } from './properties';
|
||||||
import { IField } from './types';
|
import { IField } from './types';
|
||||||
import { i18n } from '../../i18n';
|
|
||||||
|
|
||||||
export const number: IField = {
|
export const number: IField = {
|
||||||
name: 'number',
|
name: 'number',
|
||||||
@ -10,7 +10,7 @@ export const number: IField = {
|
|||||||
title: '{{t("Number")}}',
|
title: '{{t("Number")}}',
|
||||||
sortable: true,
|
sortable: true,
|
||||||
default: {
|
default: {
|
||||||
type: 'float',
|
type: 'double',
|
||||||
// name,
|
// name,
|
||||||
uiSchema: {
|
uiSchema: {
|
||||||
type: 'number',
|
type: 'number',
|
||||||
|
@ -16,6 +16,7 @@ export const type: ISchema = {
|
|||||||
{ label: 'Text', value: 'text' },
|
{ label: 'Text', value: 'text' },
|
||||||
{ label: 'Integer', value: 'integer' },
|
{ label: 'Integer', value: 'integer' },
|
||||||
{ label: 'Float', value: 'float' },
|
{ label: 'Float', value: 'float' },
|
||||||
|
{ label: 'Double', value: 'double' },
|
||||||
{ label: 'Decimal', value: 'decimal' },
|
{ label: 'Decimal', value: 'decimal' },
|
||||||
{ label: 'Date', value: 'date' },
|
{ label: 'Date', value: 'date' },
|
||||||
{ label: 'DateOnly', value: 'dateonly' },
|
{ label: 'DateOnly', value: 'dateonly' },
|
||||||
|
Loading…
Reference in New Issue
Block a user