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

[com_fields] Feature Request for text and textarea fields #14374

Closed
coolcat-creations opened this issue Mar 6, 2017 · 5 comments
Closed

[com_fields] Feature Request for text and textarea fields #14374

coolcat-creations opened this issue Mar 6, 2017 · 5 comments

Comments

@coolcat-creations
Copy link
Contributor

Can here a max-lenght field be added easily ? I think it´s very useful for any usecase...

thanks!

@laoneo
Copy link
Member

laoneo commented Mar 6, 2017

Just to confirm, it is the maxlength parameter here https://docs.joomla.org/Text_form_field_type?

@coolcat-creations
Copy link
Contributor Author

Yes i think so! thanks! :-)

@coolcat-creations
Copy link
Contributor Author

is this possible @laoneo ? :)

@coolcat-creations
Copy link
Contributor Author

@laoneo just tried to help and add it myself, but no idea which files has to be changed.
For now i added the parameter here: /plugins/fields/text/params/text.xml
But where do i call it?

@laoneo
Copy link
Member

laoneo commented Mar 10, 2017

You was on the right track. The parameters from the core form fields can be added on the params and the plugin xml file.

Check out pr #14458 which adds the max length parameters to the text and textarea fields. If you want to add more parameters by yourself you can use that pr as template. Just ping me on glip when you need help for another parameter.

Guess this issue can be closed as we have a pr.

@zero-24 zero-24 closed this as completed Mar 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants