Skip to content
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

Lmb 182 | can modify custom field #455

Conversation

JonasVanHoof
Copy link
Contributor

@JonasVanHoof JonasVanHoof commented Jan 9, 2025

Description

We want the user to edit the custom form field. Adding an edit icon that opens a modal with the editable fields.

How to test

Edit a custom field in the mandataris extra info card

Links to other PR's

Attachments

@JonasVanHoof JonasVanHoof self-assigned this Jan 9, 2025
@JonasVanHoof JonasVanHoof changed the base branch from karel/lmb-333-create-form-extensions to karel/lmb-809-library-of-fields January 9, 2025 13:58
@JonasVanHoof JonasVanHoof force-pushed the lmb-182-can-modify-custom-field branch from 58d538b to 0e49d6b Compare January 9, 2025 14:23
@Rahien Rahien force-pushed the karel/lmb-809-library-of-fields branch from ecfa31e to 1658d8c Compare January 9, 2025 14:49
@JonasVanHoof JonasVanHoof force-pushed the lmb-182-can-modify-custom-field branch from 221ac0d to 09bf43a Compare January 9, 2025 15:08
@JonasVanHoof JonasVanHoof force-pushed the lmb-182-can-modify-custom-field branch from 27658c0 to 3f1b671 Compare January 10, 2025 14:50
@JonasVanHoof
Copy link
Contributor Author

Added the order from Karels PR in here
image

@JonasVanHoof JonasVanHoof marked this pull request as ready for review January 14, 2025 12:28
Base automatically changed from karel/lmb-809-library-of-fields to karel/lmb-333-create-form-extensions January 14, 2025 12:41
@@ -27,6 +31,7 @@ export default class EditableFormComponent extends Component {
);
this.currentForm = form;
this.loading = false;
this.showModal = false;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't think this is necessary if the tracked value is set to false?

Copy link
Contributor Author

@JonasVanHoof JonasVanHoof Jan 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, the modal is not closed when not doing this

app/components/rdf-input-fields/crud-custom-field-modal.js Outdated Show resolved Hide resolved
app/components/rdf-input-fields/crud-custom-field-modal.js Outdated Show resolved Hide resolved
app/components/rdf-input-fields/crud-custom-field-modal.js Outdated Show resolved Hide resolved
@JonasVanHoof JonasVanHoof merged commit 14ba654 into karel/lmb-333-create-form-extensions Jan 15, 2025
2 checks passed
@JonasVanHoof JonasVanHoof deleted the lmb-182-can-modify-custom-field branch January 15, 2025 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants