Giter Club home page Giter Club logo

angular-schema-form's People

Contributors

olimart avatar superchris avatar viktor-evdokimov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-schema-form's Issues

Radio inputs?

Hey there,

Great stuff here but seems unfinished. How the balls do I create a radio input?

HTML 5 Field attributes

Hi,

what about supporting step, min and max for number/integer fields for example?

Any idea to where to start to add field options?

Please add open source license - MIT preferred

Please add a license. I have been working under the assumption that this code was licensed MIT - but in checking back find that there is no license information included.

I can't use this in my projects without a suitable license.

example includes: datepicker, search dialog w/remote query, responsive

Not a pull request because the implementation is probably too opinionated for general use. Be that as it may, here it is: http://plnkr.co/edit/7eJO8oznXmye45Mnf8eu?p=info -- yours if you want it. From the readme there:

Features:

  • Bootstrap 2.2 markup
  • Float label and placeholder support
  • Responsive, including input append icons
  • Datepicker for date type
  • Split button dropdowns for enum fields (avoid select styling limitations)
  • Generates grid based lookup dialogs for searchable string types
    • with filter bar for per-column filtering
    • filter modes: 'remote', 'request', 'initial' and 'local'
    • filter supports optional promise returning remote query function

Error: $injector:unpr Unknown Provider error

Each time I try to load a project using angular-schema-form on the latest 1.x version of Angular, I'm getting this error:
https://docs.angularjs.org/error/$injector/unpr?p0=eProvider%20%3C-%20e%20%3C-%20schemaFormFieldDirective

I'm using a very simple test case, injecting 'schemaForm' into the app using:

var app = angular.module('myModule', ['ui.bootstrap', 'ui.router', 'ngCookies', 'ngResource', 'schemaForm']);

And then putting the schema -form directive in my template:

<form name="agency" role="form">
      <schema-form-fields fields="fields" schema="schema" model="model" required=true> </schema-form-fields>
    </form>

And defining the attributes using scope variables:

  $scope.fields = ['_id', '__s'];

  $scope.schema = {
    "title": "Agency Schema",
    "type": "object",
    "properties": {
      "_id": {
        "type": "string"
      },
      "__s": {
        "type": "string",
        "default": "00",
        "minLength": 2,
        "maxLength": 2
      }
    }
  };

$scope.model = agency; //a model defined earlier

I only get the error when the controller that uses the directive loads, not when the app loads.

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.