mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-02 12:33:58 +00:00
Deleted checkbox for thousands separator and updated select field options
This commit is contained in:
@@ -27,21 +27,18 @@ defaultValue="100"
|
|||||||
{/if}
|
{/if}
|
||||||
<!-- <FormCheckboxField name="dataGrid.showHintColumns" label="Show foreign key hints" defaultValue={true} /> -->
|
<!-- <FormCheckboxField name="dataGrid.showHintColumns" label="Show foreign key hints" defaultValue={true} /> -->
|
||||||
|
|
||||||
<FormCheckboxField
|
|
||||||
name="dataGrid.thousandsSeparator"
|
|
||||||
label={_t('settings.dataGrid.thousandsSeparator', {
|
|
||||||
defaultMessage: 'Use thousands separator for numbers',
|
|
||||||
})}
|
|
||||||
/>
|
|
||||||
|
|
||||||
<FormSelectField
|
<FormSelectField
|
||||||
label={_t('settings.dataGrid.thousandsSeparator', { defaultMessage: 'Thousands separator for numbers' })}
|
label={_t('settings.dataGrid.thousandsSeparator', { defaultMessage: 'Thousands separator for numbers' })}
|
||||||
name="dataGrid.thousandsSeparatorChar"
|
name="dataGrid.thousandsSeparatorChar"
|
||||||
isNative
|
isNative
|
||||||
defaultValue=""
|
defaultValue='none'
|
||||||
options={[
|
options={[
|
||||||
{ value: '', label: _t('settings.dataGrid.thousandsSeparator.none', { defaultMessage: 'None' }) },
|
{ value: 'none', label: _t('settings.dataGrid.thousandsSeparator.none', { defaultMessage: 'None' }) },
|
||||||
{ value: ' ', label: _t('settings.dataGrid.thousandsSeparator.space', { defaultMessage: 'Space' }) },
|
{ value: 'system', label: _t('settings.dataGrid.thousandsSeparator.system', { defaultMessage: 'System' }) },
|
||||||
|
{ value: 'space', label: _t('settings.dataGrid.thousandsSeparator.space', { defaultMessage: 'Space' }) },
|
||||||
|
{ value: 'nobreakspace', label: _t('settings.dataGrid.thousandsSeparator.narrowNoBreakSpace', { defaultMessage: 'Narrow no-break space' }) },
|
||||||
|
{ value: 'comma', label: _t('settings.dataGrid.thousandsSeparator.comma', { defaultMessage: 'Comma (,)' }) },
|
||||||
|
{ value: 'dot', label: _t('settings.dataGrid.thousandsSeparator.dot', { defaultMessage: 'Dot (.)' }) },
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user