|
@@ -36,4 +36,10 @@ render_element(#comboLookup{id=Id, style=Style, value = Val, bind = Object,
|
|
|
++ nitro:to_list(Module) ++ "')")
|
|
|
end},
|
|
|
#panel{id=form:atom([comboContainer, Id]),
|
|
|
- class = ['dropdown-content']}]}).
|
|
|
+ class = ['dropdown-content']},
|
|
|
+ case Disabled of
|
|
|
+ true -> [];
|
|
|
+ false -> #link{class = [button, sgreen, 'delete-btn'],
|
|
|
+ style = "min-width: 40px; text-align: center; height: fit-content; margin-left: 5px;",
|
|
|
+ onclick = nitro:jse("clearInput('" ++ Id ++ "')"),
|
|
|
+ body = <<"">>} end]}).
|