Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

setValue #1

Closed
SystrN7 opened this issue Dec 17, 2016 · 1 comment
Closed

setValue #1

SystrN7 opened this issue Dec 17, 2016 · 1 comment

Comments

@SystrN7
Copy link

SystrN7 commented Dec 17, 2016

I have a issue whit a function setValue my bowser send e error ReferenceError: _forEach is not defined

`

<title>TEST</title> <script type="text/javascript" src="Selectr/selectr.min.js"></script> Aucune categorie Français Biologie Mathematique Physique Histoire Géographie Autre Informatique
	<button id="myButtonMulti" class="btn btn-primary">Set Values</button>

	<script type="text/javascript">
		var mySelectr = new Selectr(document.getElementById('category'), {
		searchable: true,
		width: 300
		});

		mySelectr.setValue(['1', '2', '3']);
		
	</script>
</body>
`
@Mobius1
Copy link
Owner

Mobius1 commented Dec 17, 2016

Thanks for bringing this to my attention. I've pushed a new release with a fix: v1.0.7.

Sorry for the inconvenience.

@Mobius1 Mobius1 closed this as completed Dec 18, 2016
Mobius1 pushed a commit that referenced this issue Dec 12, 2017
Fixes navigation in optgroup search results
Mobius1 pushed a commit that referenced this issue Apr 4, 2019
adrian-enspired pushed a commit to adrian-enspired/Selectr that referenced this issue May 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants