Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.
This repository was archived by the owner on Jul 27, 2023. It is now read-only.

Can't set up empty option as default value (with temporary solution) #43

@mikbox74

Description

@mikbox74

Hello, thank you for this great thing!
I tried to add empty default value and can not did it. May be the reason is my customization: I used complex array and some markup to build options.
So I find the temporary solution and the widget works properly now:

https://gist.github.com/mikbox74/9bf813c3b5b5550205daa7a080eec6cd#file-selctize-php-L39

I hope the gist helps you to improve the widget.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions