feat: добавление новых строк в формы select_one, select_multiple
This commit is contained in:
@@ -162,7 +162,7 @@ render_forms = function(
|
|||||||
choices = choices,
|
choices = choices,
|
||||||
selected = NULL,
|
selected = NULL,
|
||||||
options = list(
|
options = list(
|
||||||
create = FALSE,
|
create = TRUE,
|
||||||
onInitialize = I('function() { this.setValue(""); }')
|
onInitialize = I('function() { this.setValue(""); }')
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@@ -177,7 +177,7 @@ render_forms = function(
|
|||||||
selected = NULL,
|
selected = NULL,
|
||||||
multiple = TRUE,
|
multiple = TRUE,
|
||||||
options = list(
|
options = list(
|
||||||
create = FALSE,
|
create = TRUE,
|
||||||
onInitialize = I('function() { this.setValue(""); }')
|
onInitialize = I('function() { this.setValue(""); }')
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user