Port preferences dialog to React. Fixes #7149

This commit is contained in:
Nikhil Mohite
2022-03-21 13:29:26 +05:30
committed by Akshay Joshi
parent 3299b0c1b0
commit 74e794b416
65 changed files with 2646 additions and 1006 deletions

View File

@@ -197,7 +197,7 @@ def register_query_tool_preferences(self):
options=[{'label': gettext('None'), 'value': 'none'},
{'label': gettext('All'), 'value': 'all'},
{'label': gettext('Strings'), 'value': 'strings'}],
select2={
control_props={
'allowClear': False,
'tags': False
}
@@ -209,9 +209,9 @@ def register_query_tool_preferences(self):
category_label=PREF_LABEL_CSV_TXT,
options=[{'label': '"', 'value': '"'},
{'label': '\'', 'value': '\''}],
select2={
control_props={
'allowClear': False,
'tags': True
'tags': False
}
)
@@ -223,9 +223,9 @@ def register_query_tool_preferences(self):
{'label': ',', 'value': ','},
{'label': '|', 'value': '|'},
{'label': gettext('Tab'), 'value': '\t'}],
select2={
control_props={
'allowClear': False,
'tags': True
'tags': False
}
)
@@ -247,7 +247,7 @@ def register_query_tool_preferences(self):
options=[{'label': gettext('None'), 'value': 'none'},
{'label': gettext('All'), 'value': 'all'},
{'label': gettext('Strings'), 'value': 'strings'}],
select2={
control_props={
'allowClear': False,
'tags': False
}
@@ -259,9 +259,9 @@ def register_query_tool_preferences(self):
category_label=PREF_LABEL_RESULTS_GRID,
options=[{'label': '"', 'value': '"'},
{'label': '\'', 'value': '\''}],
select2={
control_props={
'allowClear': False,
'tags': True
'tags': False
}
)
@@ -273,9 +273,9 @@ def register_query_tool_preferences(self):
{'label': ',', 'value': ','},
{'label': '|', 'value': '|'},
{'label': gettext('Tab'), 'value': '\t'}],
select2={
control_props={
'allowClear': False,
'tags': True
'tags': False
}
)