Skip to content

Instantly share code, notes, and snippets.

@kelchm
Last active August 29, 2015 14:14
Show Gist options
  • Save kelchm/8162c67b64defbcd19c1 to your computer and use it in GitHub Desktop.
Save kelchm/8162c67b64defbcd19c1 to your computer and use it in GitHub Desktop.
Module Excerpt
// Configure input fields
$scope.input = {
subjectType: {
name: 'subjectType',
label: 'Type',
},
subjectId: {
name: 'subjectId',
label: 'With ID',
},
isCompatible: {
name: 'isCompatible',
label: 'Is Compatible',
},
objectType: {
name: 'objectType',
label: 'Type',
},
objectId: {
name: 'objectId',
label: 'With ID',
},
categoryId: {
name: 'categoryId',
placeholder: 'Select Category',
label: 'Category',
data: categories,
multiple: false
},
offerId: {
name: 'offerId',
placeholder: 'Select Offer',
label: 'Offer',
data: offers,
multiple: false,
type: 'offer'
}
};
<input-ui-select model="compatibilityRule" field="input.offerId"></input-ui-select>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment