mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
form: remove ChoosableOptions for now
This commit is contained in:
parent
6bef4b1e0e
commit
b778aaf780
1 changed files with 0 additions and 12 deletions
|
@ -938,18 +938,6 @@ class FileOption(BaseInputOption):
|
||||||
# ─ CHOICES ───────────────────────────────────────────────
|
# ─ CHOICES ───────────────────────────────────────────────
|
||||||
|
|
||||||
|
|
||||||
ChoosableOptions = Literal[
|
|
||||||
OptionType.string,
|
|
||||||
OptionType.color,
|
|
||||||
OptionType.number,
|
|
||||||
OptionType.date,
|
|
||||||
OptionType.time,
|
|
||||||
OptionType.email,
|
|
||||||
OptionType.path,
|
|
||||||
OptionType.url,
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
class BaseChoicesOption(BaseInputOption):
|
class BaseChoicesOption(BaseInputOption):
|
||||||
# FIXME probably forbid choices to be None?
|
# FIXME probably forbid choices to be None?
|
||||||
filter: Union[JSExpression, None] = None # filter before choices
|
filter: Union[JSExpression, None] = None # filter before choices
|
||||||
|
|
Loading…
Add table
Reference in a new issue