Closed Bug 909429 Opened 11 years ago Closed 11 years ago

Add info about what characters are supported in the collection slug

Categories

(Marketplace Graveyard :: Admin Tools, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: krupa.mozbugs, Assigned: basta)

References

()

Details

Attachments

(1 file)

Attached image slug.png
steps to reproduce:
1. Load https://marketplace-dev.allizom.org/curation/new_collection?type=basic
2. Enter collection name "0 0 0 0"
3. Notice that the slug gets auto generated
4. Notice that the 'Create' button remains disabled.

expected behavior:
We inform users about what characters are allowed in the slug.

observed behavior:
Slug gets auto generated with unallowed characters and collection creation is blocked. The error message 'This field is required' is inaccurate in this scenario.
Interesting. I'll have a look.
Assignee: nobody → mattbasta
Status: NEW → ASSIGNED
https://github.com/mozilla/rocketfuel/commit/40c580b6e65d59a444b979a8b55b6b7fa48c746b

Fixed. Since we weren't updating the `value` attribute on the element, the CSS knew it was invalid but didn't know it had a value.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: