mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Add ChoiceList type, cell widget, and editor widget.
Summary: - Adds a new ChoiceList type, and widgets to view and edit it. - Store in SQLite as a JSON string - Support conversions between ChoiceList and other types Test Plan: Added browser tests, and a test for how these values are stored Reviewers: paulfitz Reviewed By: paulfitz Differential Revision: https://phab.getgrist.com/D2803
This commit is contained in:
@@ -6,7 +6,7 @@ a consistent API accessible with only "import grist".
|
||||
|
||||
# These imports are used in processing generated usercode.
|
||||
from usertypes import Any, Text, Blob, Int, Bool, Date, DateTime, \
|
||||
Numeric, Choice, Id, Attachments, AltText, ifError
|
||||
Numeric, Choice, ChoiceList, Id, Attachments, AltText, ifError
|
||||
from usertypes import PositionNumber, ManualSortPos, Reference, ReferenceList, formulaType
|
||||
from table import UserTable
|
||||
from records import Record, RecordSet
|
||||
|
||||
Reference in New Issue
Block a user