Select fields in arrays starts open in model by default
Only when a select field is the first field in the array.
I don't quite understand what the issue is Matt, can you rephrase?
On Tue, Nov 4, 2014 at 3:22 PM, Matthew Coppola [email protected] wrote:
Only when a select field is the first field in the array.
— Reply to this email directly or view it on GitHub https://github.com/punkave/apostrophe/issues/175.
*THOMAS BOUTELL, *DEV & OPS P'UNK AVENUE | (215) 755-1330 | punkave.com
Yes, sorry. In a schema widget - when you have a select type field within an array type field, and it is the first field in the array - the select dropdown will start open in the edit modal.
The issue is in the selector on line 566 of public/js/content.js
Hmm, apostrophe-schema-widgets and apostrophe-schemas don't have a content.js, can you double check where you believe this issue is hiding? Thanks.
On Tue, Nov 4, 2014 at 3:59 PM, Matthew Coppola [email protected] wrote:
Yes, sorry. In a schema widget - when you have a select type field within an array type field, and it is the first field in the array - the select dropdown will start open in the edit modal.
The issue is in the selector on line 566 of public/js/content.js
— Reply to this email directly or view it on GitHub https://github.com/punkave/apostrophe/issues/175#issuecomment-61713316.
*THOMAS BOUTELL, *DEV & OPS P'UNK AVENUE | (215) 755-1330 | punkave.com
It was content.js of apostrophe core. I extended the selector to account for this case with 79ba637ce9aca8fbcd90c3ef06163270d35fb8fa.