-
Notifications
You must be signed in to change notification settings - Fork 20
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
#2311: New ComboBox widget for form fields [BOB] #3302
Merged
Merged
Changes from 14 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
2651cd4
initial approach, from domain.py, not quite working
dave-kennedy-ecs f359a63
combobox in domain request organization contact
dave-kennedy-ecs 4480e32
updated combobox widget to set proper data-default-value and set doma…
dave-kennedy-ecs 3146dc0
applied widget to state territory
dave-kennedy-ecs 560baed
linted
dave-kennedy-ecs bb5f61f
updated behavior of combobox, added state territory combobox
dave-kennedy-ecs 0e2d62f
small improvement
dave-kennedy-ecs 6283cad
state territory in org name address domain form
dave-kennedy-ecs 462dae3
Merge branch 'main' into bob/2311-combo-boxes
dave-kennedy-ecs d411745
fixing test_export again
dave-kennedy-ecs b4505b3
lint
dave-kennedy-ecs ae6c461
added federal agency on domain page, and suborg on requesting entity …
dave-kennedy-ecs d54e57b
update federal agency drop down not to have any exclusions
dave-kennedy-ecs e2486c1
organization edit form - added state territory combobox
dave-kennedy-ecs ea509f6
uswds edits to combobox, default values for comboboxes, cleanup of co…
dave-kennedy-ecs 1ca52b4
additional edits to uswds and to combobox.js to accomodate for empty …
dave-kennedy-ecs 24e0243
fixed bug with portfolio requesting entity
dave-kennedy-ecs fabedda
modified combobox to handle error class
dave-kennedy-ecs 74ef30b
fixed the 'other' problem in requesting entity form
dave-kennedy-ecs 6a49f9e
requesting entity working - code still wip
dave-kennedy-ecs 088140a
clean up of requesting entity
dave-kennedy-ecs f9fa877
cleanup and lint
dave-kennedy-ecs 3708ef1
Merge branch 'main' into bob/2311-combo-boxes
dave-kennedy-ecs ba27880
removed default empty options from Checkboxes as they are only needed…
dave-kennedy-ecs 463632b
lint
dave-kennedy-ecs 96618ee
fixing tests
dave-kennedy-ecs 6bf52f0
cleanup
dave-kennedy-ecs e9268be
updated required attribute on state territory
dave-kennedy-ecs 6828a1f
lint
dave-kennedy-ecs 7dde483
Merge branch 'main' into bob/2311-combo-boxes
dave-kennedy-ecs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from django.forms import Select | ||
|
||
|
||
class ComboboxWidget(Select): | ||
template_name = "django/forms/widgets/combobox.html" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice touch