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

Donot allow to enter more than max length of the field #13403

Merged
merged 1 commit into from
Feb 5, 2019

Conversation

pradpnayak
Copy link
Contributor

@pradpnayak pradpnayak commented Jan 4, 2019

Overview

https://lab.civicrm.org/dev/core/issues/639

Before

The subject field allowed unlimited chars to input

After

Restricted to 255 chars only

@civibot
Copy link

civibot bot commented Jan 4, 2019

(Standard links)

@civibot civibot bot added the master label Jan 4, 2019
@eileenmcnaughton
Copy link
Contributor

@pradpnayak the way we have been dealing with these is switching to using the addField method - in general using addField allows us to centralise our methodology & metadata - are you able to give that a go? You might need to add a couple of declares

@pradpnayak
Copy link
Contributor Author

@eileenmcnaughton I have updated the PR to use addField method. Can you please review?

@pradpnayak pradpnayak closed this Feb 5, 2019
@pradpnayak pradpnayak reopened this Feb 5, 2019
@eileenmcnaughton
Copy link
Contributor

I gave this a spin & it looks good to me

@eileenmcnaughton eileenmcnaughton merged commit 67c953d into civicrm:master Feb 5, 2019
@pradpnayak pradpnayak deleted the FieldLength branch March 23, 2020 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants