We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Define in a model a reference field input with the select2/fngAjax display options
component: { type: Schema.Types.ObjectId, ref: 'Component', form: { select2: { fngAjax: true }, }
At the front-end level, create a new document related to this model. Select a value for the reference field. Save. Reload the document.
Then, try to reset/empty the field: impossible. Once this field is set to a value, it is not possible to reset it.
The text was updated successfully, but these errors were encountered:
After quite a lot of digging I have discovered that
component: { type: Schema.Types.ObjectId, ref: 'Component', form: { placeHolder: 'Select component', select2: { fngAjax: true }, }
works. I will make it happen automatically.
Sorry, something went wrong.
Excellent idea!
Le lundi 6 octobre 2014, Mark Chapman notifications@github.com a écrit :
After quite a lot of digging I have discovered that component: { type: Schema.Types.ObjectId, ref: 'Component', form: { placeHolder: 'Select component', select2: { fngAjax: true }, } works. I will make it happen automatically. — Reply to this email directly or view it on GitHub #53 (comment) .
— Reply to this email directly or view it on GitHub #53 (comment) .
Test fix for forms-angular/forms-angular#53
8fbc3cb
bc69271
Create placeholder for non-required references. Closes #53
a642a93
No branches or pull requests
Define in a model a reference field input with the select2/fngAjax display options
At the front-end level, create a new document related to this model. Select a value for the reference field. Save. Reload the document.
Then, try to reset/empty the field: impossible. Once this field is set to a value, it is not possible to reset it.
The text was updated successfully, but these errors were encountered: