Skip to content

Commit

Permalink
adding placeholder for newly added location dropdowns
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcam-src committed Feb 13, 2024
1 parent ce41024 commit cfa03eb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ export default class ControlledVocabulary extends FieldManager {
*/
_addBehaviorsToInput($newField) {
let $newInput = $('input.multi-text-field', $newField)
$newInput.attr('placeholder', 'Search for a location')
$newInput.focus()
this.addAutocompleteToEditor($newInput)
this.element.trigger("managed_field:add", $newInput)
Expand Down

0 comments on commit cfa03eb

Please sign in to comment.