ruaghain / angular-lookup-directive Goto Github PK
View Code? Open in Web Editor NEWThis project contains lookup directive code for a given datasource, view and id.
License: Apache License 2.0
This project contains lookup directive code for a given datasource, view and id.
License: Apache License 2.0
When a user is on the lookup, and they click the down arrow - make a requests that returns the first 10 rows.
While the user is typing in, automatically select the record if it's the only one.
Need to throw an exception (or mark the record as invalid ng-invalid?) if a value is entered in, but it didn't match any record from the relevant lookup.
Needed to minify the existing js file, and create a distribution (minus the test javascript) that will work with bower.
Need the ability to create a new record in the database for the typed in value if it doesn't exist in the database. This will be based on a parameter.
A Save and Cancel button will need to be provided to the user for them to press.
Need the ability to edit information from a given datasource, spring-data-rest doesn't easy facilitate this. Will need to specifically cater for it, but still allow for more generic requests like ODATA.
Need to display some sort of chevron to denote the input as a lookup.
Need to see if it's possible to allow only the contents of the dist folder to be available to bower for downloading.
Need to get css associated with this directive, will need to use LESS or SASS or something similar.
Need to see if there is a way to externalise the inline template, so I can modify it easier if needs be.Will probably need to save it as a script, and save it to the template cache.
Need to add in a default style to the directive to show that it's in an invalid state, based on the ng-invalid class.
If a value is selected, and then subsequently cleared using backspace - the value still saves.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.