1
0
Fork 0

fix placeholders

Dieser Commit ist enthalten in:
Angus McLeod 2019-04-18 09:47:41 +10:00
Ursprung 29ad274df7
Commit cd51e4cbca
4 geänderte Dateien mit 4 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -6,7 +6,6 @@ export default Ember.Component.extend({
noneKey: 'admin.wizard.select_field', noneKey: 'admin.wizard.select_field',
noneValue: 'admin.wizard.none', noneValue: 'admin.wizard.none',
inputKey: 'admin.wizard.key', inputKey: 'admin.wizard.key',
inputValue: 'admin.wizard.value',
customDisabled: Ember.computed.alias('input.user_field'), customDisabled: Ember.computed.alias('input.user_field'),
@computed('input.value_custom', 'input.user_field') @computed('input.value_custom', 'input.user_field')

Datei anzeigen

@ -1,4 +1,6 @@
export default Ember.Component.extend({ export default Ember.Component.extend({
valuePlaceholder: 'admin.wizard.value',
actions: { actions: {
add() { add() {
if (!this.get('inputs')) { if (!this.get('inputs')) {

Datei anzeigen

@ -2,6 +2,6 @@
class=fieldClass class=fieldClass
value=field.value value=field.value
content=field.choices content=field.choices
none=field.dropdown_none none=(hash id="__none__" label=field.dropdown_none)
nameProperty="label" nameProperty="label"
tabindex="9"}} tabindex="9"}}

Datei anzeigen

@ -79,7 +79,7 @@ en:
image: "Image" image: "Image"
image_placeholder: "Image url" image_placeholder: "Image url"
dropdown_none: "None" dropdown_none: "None"
dropdown_none_placeholder: "Translation Key" dropdown_none_placeholder: "Label"
choices_label: "Dropdown Choices" choices_label: "Dropdown Choices"
choices_type: "Choose a type" choices_type: "Choose a type"
choices_translation: "Translation" choices_translation: "Translation"