Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Make creating new tags in autocomplete module optional#5012

Merged
smotornyuk merged 1 commit into
ckan:masterfrom
Zharktas:make_creating_tags_in_autocomplete_optional
Nov 4, 2019
Merged

Make creating new tags in autocomplete module optional#5012
smotornyuk merged 1 commit into
ckan:masterfrom
Zharktas:make_creating_tags_in_autocomplete_optional

Conversation

@Zharktas
Copy link
Copy Markdown
Member

@Zharktas Zharktas commented Oct 7, 2019

Proposed fixes:

Autocomplete module creates new tags when inputting a tag which does not exist, this PR makes that optional. The default is still the same but developer can prevent creating new tags by adding data-module-createtags='false' to the template. This probably should be documented somewhere but javascript module documentation is pretty much non-existing currently anyway.

Features:

  • includes tests covering changes
  • includes updated documentation
  • includes user-visible changes
  • includes API changes
  • includes bugfix for possible backport

Please [X] all the boxes above that apply

@smotornyuk smotornyuk merged commit c25eddf into ckan:master Nov 4, 2019
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