提交 799a82fe 编写于 作者: T Tijs Rademakers
......@@ -477,6 +477,7 @@
"DROPDOWN-DEFAULT-EMPTY-SELECTION": "Please choose one...",
"DROPDOWN-EMPTY-VALUE-HELP": "This is the 'empty value' option. Selecting this at runtime is the taken to mean 'no value' or 'empty'. This is allowed for optional fields, but not allowed for required fields.",
"REQUIRED": "Required",
"READONLY": "Read-only",
"EXPRESSION": "Expression",
"ADD-OPTION": "+ Add a new option",
"UPLOAD-ALLOW-MULTIPLE": "Allow uploading multiple files",
......
......@@ -451,6 +451,7 @@
"DROPDOWN-DEFAULT-EMPTY-SELECTION":"Por favor, escolha uma...",
"DROPDOWN-EMPTY-VALUE-HELP":"Esta é a opção 'valor vazio'. Selecionar isto em tempo de execução significa dizer 'sem valor' ou 'vazio'. Isto é permitido para campos opcionais, mas não permitido para campos obrigatórios.",
"REQUIRED":"Obrigatório",
"READONLY":"Somente leitura",
"EXPRESSION":"Expressão",
"ADD-OPTION":"+ Adicionar uma nova opção",
"UPLOAD-ALLOW-MULTIPLE":"Permitir o upload de vários arquivos"
......@@ -756,4 +757,4 @@
"PROPERTY.DECISIONTABLEREFERENCE.ERROR.FORM":"Houve um erro ao carregar as tabelas de decisão. Tente novamente mais tarde",
"PROPERTY.DECISIONTABLEREFERENCE.DECISIONTABLE.LOADING":"Carregando tabelas de decisão...",
"PROPERTY.DECISIONTABLEREFERENCE.DECISIONTABLE.EMPTY":"Esta pasta não contém tabelas de decisão"
}
\ No newline at end of file
}
......@@ -40,14 +40,24 @@
<input type="text" class="form-control" ng-model="formElement.id" ng-disabled="!formElement.overrideId" editor-input-check>
</div>
<div ng-show="formElement.type !== 'expression'">
<div class="form-group">
<div class="checkbox">
<label>
<input type="checkbox" ng-model="formElement.required">
{{'FORM-BUILDER.COMPONENT.REQUIRED' | translate}}
</label>
<div ng-show="formElement.type !== 'expression' && formElement.type !== 'hyperlink'">
<div class="row">
<div class="form-group col-md-2">
<div class="checkbox">
<label>
<input type="checkbox" ng-model="formElement.required">
{{'FORM-BUILDER.COMPONENT.REQUIRED' | translate}}
</label>
</div>
</div>
<div class="form-group col-md-10">
<div class="checkbox">
<label>
<input type="checkbox" ng-model="formElement.readOnly">
{{'FORM-BUILDER.COMPONENT.READONLY' | translate}}
</label>
</div>
</div>
</div>
</div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册