-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Address component #1277
base: master
Are you sure you want to change the base?
Address component #1277
Conversation
Fix textfield so it also works with prefill
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📫 📯
packages/shared-components/src/formio/components/base/FormioReactComponent.tsx
Outdated
Show resolved
Hide resolved
packages/shared-components/src/formio/components/core/address/Address.tsx
Show resolved
Hide resolved
# Conflicts: # packages/shared-components/src/context/component/componentUtilsContext.tsx # packages/shared-components/src/formio/components/base/BaseComponent.ts
Feature/name prefill
# Conflicts: # packages/shared-components/src/formio/components/core/textfield/TextField.tsx
# Conflicts: # packages/shared-components/src/formio/components/base/FormioReactComponent.tsx
# Conflicts: # packages/shared-components/src/formio/components/core/textfield/TextField.tsx
# Conflicts: # packages/shared-components/src/formio/components/core/textfield/TextField.tsx
Feature/social security
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🆔 🛂 🔑
@@ -14,7 +14,7 @@ import tseslint from 'typescript-eslint'; | |||
|
|||
export default tseslint.config( | |||
{ | |||
ignores: ['**/src/template/**', '**/dist/**', '**/build/**', '**/node_modules/**'], | |||
ignores: ['**/src/template/**', '**/dist/**', '**/build/**', '**/node_modules/**', 'mocks/'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sjekk hva som er problem med '@typescript-eslint/no-var-requires': 'off', på linje 103
labelOptions?: LabelOptions; | ||
} | ||
|
||
const ComponentLabel = ({ component, editFields, labelIsHidden, labelOptions }: Props) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Legg gjerne inn kommentar på denne og Label
.
@@ -32,14 +32,14 @@ class TextField extends BaseComponent { | |||
} | |||
|
|||
initPrefill() { | |||
if (this.isSubmissionDigital() && this.component?.prefillKey && this.component?.prefillValue) { | |||
if (this.havePrefill()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hasPrefill
?
} | ||
|
||
initPrefill() { | ||
if (this.isSubmissionDigital() && this.component?.prefillKey && this.component?.prefillValue) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bruk havePrefill
mayBeEqual: false, | ||
validate: { | ||
required: true, | ||
custom: 'valid = instance.validateDatePickerV2(input, data, component, row);', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fjern
mayBeEqual: false, | ||
validate: { | ||
required: true, | ||
custom: 'valid = instance.validateDatePickerV2(input, data, component, row);', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fjern
No description provided.