Skip to content
New issue

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

Autofill override fields when "use override" selected #10

Open
davidmce opened this issue Dec 5, 2014 · 3 comments
Open

Autofill override fields when "use override" selected #10

davidmce opened this issue Dec 5, 2014 · 3 comments

Comments

@davidmce
Copy link

davidmce commented Dec 5, 2014

If the default mapping is correct, but a start date is missing (very common I would expect), you need to override the default mapping.
When you do this, the old mapping should fill the "License URL" box, so the user only has to enter the date.

@davidmce
Copy link
Author

This could be done on all override fields. The default mapping could be pre-filled into the override field. If this was done, a clear button would need to be added.

@drtjmb
Copy link
Member

drtjmb commented Feb 17, 2015

Would need to think about this in more detail - currently the empty/non-empty override field is used to indicate the existence or non-existence of an override. So if we start autofilling the field need to make sure that this doesn't cause an override to be assumed when in fact there isn't one.

@drtjmb drtjmb changed the title License ref, default mapping without a start date Autofill override fields when "use override" selected Feb 17, 2015
@drtjmb
Copy link
Member

drtjmb commented Feb 17, 2015

Would need some JS to fetch the current derived value (ajax call or embedded in form) and populate the override field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants