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

ENH Add disabled field state #189

Merged
merged 1 commit into from
Jan 28, 2024

Conversation

emteknetnz
Copy link
Member

Issue #181

@emteknetnz emteknetnz mentioned this pull request Jan 24, 2024
Copy link
Contributor

@sabina-talipova sabina-talipova left a comment

Choose a reason for hiding this comment

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

@emteknetnz, it looks like we should modify LinkFieldController::isReadOnlyField to check LinkField->isDisable(). Currently if we click on any disable link field we still can open modal window and edit link content.

@emteknetnz
Copy link
Member Author

Updated

Copy link
Contributor

@sabina-talipova sabina-talipova left a comment

Choose a reason for hiding this comment

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

Test locally. All works perfect.

@sabina-talipova sabina-talipova merged commit 76b38e7 into silverstripe:4 Jan 28, 2024
10 checks passed
@sabina-talipova sabina-talipova deleted the pulls/4/disabled branch January 28, 2024 19:48
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