Giter VIP home page Giter VIP logo

Comments (8)

machineboy2045 avatar machineboy2045 commented on August 24, 2024

Can you elaborate on what the validation issue is?

from angular-selectize.

mdmoura avatar mdmoura commented on August 24, 2024

I meant W3C validation ... In my opinion Selectize is an improvement to an already existing HTML tag, so according to one of Angular creators, the select tag should be used.

It should be only use a selectize tag if this would be a complete new feature.

And then there is the W3C validation problem ...

from angular-selectize.

mdmoura avatar mdmoura commented on August 24, 2024

Are you sure this is working? I had the following with a previous version of Angular Selectize:

<select data-ng-model="subscriber.country" data-placeholder="Country" name="country" data-selectize="model.countries" data-options="model.countries.options"></select>

This stopped working the moment I updated to the current version ...

from angular-selectize.

machineboy2045 avatar machineboy2045 commented on August 24, 2024

I think you need to change data-selectize="model.countries" to just data-selectize

from angular-selectize.

mdmoura avatar mdmoura commented on August 24, 2024

That didn't work ... BTW, model.countries is the following:

$scope.model = {
  countries: {
    labelField: 'Name',      
    maxItems: 1,
    persist: false,
    required: true,
    valueField: 'Id'
  }
};

from angular-selectize.

machineboy2045 avatar machineboy2045 commented on August 24, 2024

oh. in that case do <select data-ng-model="subscriber.country" data-placeholder="Country" name="country" data-selectize config="model.countries" data-options="model.countries.options"></select>

from angular-selectize.

mdmoura avatar mdmoura commented on August 24, 2024

Yes, that solved it ... Thanks

from angular-selectize.

machineboy2045 avatar machineboy2045 commented on August 24, 2024

no problem

On Wed, Jan 28, 2015 at 2:37 PM, Miguel Moura [email protected]
wrote:

Yes, that solved it ... Thanks


Reply to this email directly or view it on GitHub
#27 (comment)
.

from angular-selectize.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.