Skip to content

Commit

Permalink
Fix usecompleter value in /vector/api/confgi (#786)
Browse files Browse the repository at this point in the history
* Check also for boolean case.

* 🐛 Client
  g3w-suite/g3w-client@b385717

* 🐛 Client
  g3w-suite/g3w-client@58bfe26

---------

Co-authored-by: wlorenzetti <[email protected]>
Co-authored-by: volterra79 <[email protected]>
  • Loading branch information
3 people authored Mar 25, 2024
1 parent 987caeb commit f10cfc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion g3w-admin/client/static/client/js/app.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion g3w-admin/qdjango/utils/edittype.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def input_form(self):
input_form['input']['options'].update({
'key': self.Value,
'value': self.Key,
'usecompleter': True if self.UseCompleter == '1' or self.UseCompleter == 'true' else False,
'usecompleter': True if self.UseCompleter == '1' or self.UseCompleter == 'true' or self.UseCompleter is True else False,
'layer_id': self.Layer,
'loading': {
'state': None
Expand Down

0 comments on commit f10cfc4

Please sign in to comment.