mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-18 06:49:50 +02:00
Tweaks for JWT auth
This commit is contained in:
@@ -379,6 +379,10 @@ pub struct FormInputBase {
|
||||
#[ts(optional)]
|
||||
pub label: Option<String>,
|
||||
|
||||
/// Visually hide the label of the input
|
||||
#[ts(optional)]
|
||||
pub hide_label: Option<bool>,
|
||||
|
||||
/// The default value
|
||||
#[ts(optional)]
|
||||
pub default_value: Option<String>,
|
||||
@@ -430,7 +434,13 @@ pub struct FormInputEditor {
|
||||
#[ts(optional = nullable)]
|
||||
pub placeholder: Option<String>,
|
||||
|
||||
pub language: EditorLanguage,
|
||||
/// Don't show the editor gutter (line numbers, folds, etc.)
|
||||
#[ts(optional)]
|
||||
pub hide_gutter: Option<bool>,
|
||||
|
||||
/// Language for syntax highlighting
|
||||
#[ts(optional)]
|
||||
pub language: Option<EditorLanguage>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Default, Serialize, Deserialize, TS)]
|
||||
|
||||
Reference in New Issue
Block a user