Skip to content

Commit

Permalink
Update major dependencies (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
alimpens authored May 7, 2024
1 parent c770f25 commit c20b060
Show file tree
Hide file tree
Showing 4 changed files with 190 additions and 176 deletions.
21 changes: 18 additions & 3 deletions apps/admin/src/utils/filterAttributes.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,31 @@ const unfilteredObjMock = {
key: 'key',
type: 'textarea',
input: true,
components: [
{
label: 'Label',
description: 'Description',
applyMaskOn: 'change',
autoExpand: false,
showCharCount: true,
tableView: true,
},
],
}

const filteredObjMock = {
label: 'Label',
description: 'Description',
autoExpand: false,
showCharCount: true,
key: 'key',
type: 'textarea',
input: true,
components: [
{
label: 'Label',
description: 'Description',
autoExpand: false,
showCharCount: true,
},
],
}

describe('filterAttributes', () => {
Expand Down
4 changes: 2 additions & 2 deletions libs/formio/src/template/html/html.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

export const html = (ctx: any) => `
<${ctx.tag} class="formio-component-htmlelement ${ctx.component.className} ${
ctx.tag === 'h1' ? 'ams-heading ams-heading--1' : ''
} ${ctx.tag === 'p' ? 'ams-paragraph' : ''}" ref="html">
ctx.tag === 'h1' ? 'ams-heading ams-heading--1' : ''
} ${ctx.tag === 'p' ? 'ams-paragraph' : ''}" ref="html">
${ctx.t(ctx.content)}
</${ctx.tag}>
`
Loading

0 comments on commit c20b060

Please sign in to comment.