isneezy / isneezy/vue-selectize

VSelectize Javascript error

Open
#212 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
74
Forks
13
PR merge metrics
No merged PRs in 30d

Description

after i add VSelectize to vue3 template

I get the error **Uncaught (in promise) TypeError: can't access property "label", this is null**

If i remove ,
i dont get the error.

**Expected behavior**
see form select input

**Screenshots**
see attached screenshot
![Screenshot from 2021-09-30 20-48-20](https://user-images.githubusercontent.com/5812903/135505590-2f97c386-612b-402b-acbe-51f3de6508c5.png)

**Desktop (please complete the following information):**
- OS: ubuntu 20
- Browser Firefox developer
- Version 93.0b9 (64-bit)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported Vue 3 template with VSelectize, v-model="selected", and the two string options, then trace where the component accesses the null value's label. Done means the select input renders without the reported promise TypeError while preserving the expected form behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.