mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-15 10:47:06 +02:00
Use v-model for expression and time_format
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
838a3e484a
commit
a0ecbfa004
@ -42,8 +42,21 @@
|
|||||||
"data-placement" => "right",
|
"data-placement" => "right",
|
||||||
"v-bind:title" => "option.desc"}
|
"v-bind:title" => "option.desc"}
|
||||||
{{ option.name }}
|
{{ option.name }}
|
||||||
%input{"v-bind:id" => "inputId(pluginType, option)",
|
%template{"v-if" => 'option.name === "expression"'}
|
||||||
"v-bind:name" => "inputName(pluginType, option)",
|
%input{"v-bind:id" => "inputId(pluginType, option)",
|
||||||
"v-bind:value" => "option.default",
|
"v-bind:name" => "inputName(pluginType, option)",
|
||||||
"type" => "text",
|
"v-model.lazy" => "expression",
|
||||||
"class" => "form-control"}
|
"type" => "text",
|
||||||
|
"class" => "form-control"}
|
||||||
|
%template{"v-else-if" => 'option.name === "time_format"'}
|
||||||
|
%input{"v-bind:id" => "inputId(pluginType, option)",
|
||||||
|
"v-bind:name" => "inputName(pluginType, option)",
|
||||||
|
"v-model.lazy" => "timeFormat",
|
||||||
|
"type" => "text",
|
||||||
|
"class" => "form-control"}
|
||||||
|
%template(v-else)
|
||||||
|
%input{"v-bind:id" => "inputId(pluginType, option)",
|
||||||
|
"v-bind:name" => "inputName(pluginType, option)",
|
||||||
|
"v-bind:value" => "option.default",
|
||||||
|
"type" => "text",
|
||||||
|
"class" => "form-control"}
|
||||||
|
Loading…
Reference in New Issue
Block a user