mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°2039 - Improve title / message for set input with a minimum item constraint
This commit is contained in:
@@ -54,7 +54,8 @@ let oWidget{{ oUIBlock.GetId() }} = $('#{{ oUIBlock.GetId() }}').selectize({
|
||||
{% if oUIBlock.GetMinItems() is not empty %}
|
||||
'combodo_min_items' : {
|
||||
minItems: {{ oUIBlock.GetMinItems() }},
|
||||
errorMessage: '{{ 'UI:Component:Input:Set:MinimumItems'|dict_format(oUIBlock.GetMinItems()) }}'
|
||||
errorTitle: '{{ 'UI:Component:Input:ChangeNotAllowed'|dict_s()|escape('js') }}',
|
||||
errorMessage: '{{ 'UI:Component:Input:Set:MinimumItems'|dict_format(oUIBlock.GetMinItems())|escape('js') }}'
|
||||
},
|
||||
{% endif %}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user