Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use disabledField config? #1361

Open
pham7uan opened this issue Jan 5, 2018 · 3 comments
Open

How to use disabledField config? #1361

pham7uan opened this issue Jan 5, 2018 · 3 comments
Labels
pending review This issue was closed as stale; since then additional review has been requested.

Comments

@pham7uan
Copy link

pham7uan commented Jan 5, 2018

Hi guys,
I'm trying build a Selectize with dynamic options disable/enable.I used disabledField config but notthing disable. Please tell me right way to do.Here my config and my data:

scope.selectize_config = {
          persist: true,
          maxItems: 1,
          valueField: 'id',
          labelField: 'name',
          searchField: ['name'],
          placeholder: "Search",
          maxOptions: 10,
          disabledField:'disabled'
};
$scope.selectize_type_options = [
       {name: 'Vendors', id: 'incoming',disabled:true},
       {name: 'Customer', id: 'outcoming',disabled:true},
       {name: 'Manufacturing Operation', id: 'manufacturing',disabled:false},
       {name: 'Internal', id: 'internal',disabled:true}
];
@risadams
Copy link
Contributor

closing stale issues older than one year.
If this issue was closed in error please message the maintainers.
All issues must include a proper title, description, and examples.

@aledmb
Copy link

aledmb commented Oct 30, 2021

Hello, why was this closed? the "disabledField" option is not working according to the documentation.

@risadams
Copy link
Contributor

risadams commented Oct 30, 2021

Hello, why was this closed? the "disabledField" option is not working according to the documentation.

Hi @aledmb, When development was resumed on the project last year we talked about a process for dealing with older issues and decided that the simplest method for getting the project back on track was to start fresh, and seeing what issues come back into play via community interest.

All the maintainers of this project have other full-time obligations, so changes cannot always happen quickly; we welcome any contributions and PRs.

I am re-opening and will set up a test to see what is happening.

@risadams risadams reopened this Oct 30, 2021
@risadams risadams added the pending review This issue was closed as stale; since then additional review has been requested. label Oct 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending review This issue was closed as stale; since then additional review has been requested.
Projects
None yet
Development

No branches or pull requests

3 participants