Skip to content

Commit

Permalink
FIO-7764: Fixes a typo in File component settings
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandraRamanenka committed Jan 26, 2024
1 parent c73cfd7 commit 319f4b1
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/file/editForm/File.edit.file.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export default [
input: true,
key: 'fileNameTemplate',
label: 'File Name Template',
placeholder: '(optional) { {name} }-{ {guid} }"',
placeholder: '(optional) { {name} }-{ {guid} }',
tooltip: 'Specify template for name of uploaded file(s). Regular template variables are available (`data`, `component`, `user`, `value`, `moment` etc.), also `fileName`, `guid` variables are available. `guid` part must be present, if not found in template, will be added at the end.',
weight: 25
},
Expand Down
42 changes: 42 additions & 0 deletions src/components/textfield/fixtures/comp8.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
export default {
type: 'form',
display: 'form',
components: [
{
label: 'Date',
widget: {
type: 'calendar',
altInput: true,
allowInput: true,
clickOpens: true,
enableDate: true,
enableTime: false,
mode: 'single',
noCalendar: false,
format: 'MM/yyyy',
dateFormat: 'MM/yyyy',
useLocaleSettings: false,
hourIncrement: 1,
minuteIncrement: 5,
// eslint-disable-next-line camelcase
time_24hr: false,
saveAs: 'text',
displayInTimezone: 'viewer',
locale: 'en',
},
applyMaskOn: 'change',
tableView: true,
key: 'date',
type: 'textfield',
input: true,
},
{
type: 'button',
label: 'Submit',
key: 'submit',
disableOnInvalid: true,
input: true,
tableView: false,
},
],
};

0 comments on commit 319f4b1

Please sign in to comment.