Skip to content

Module Editor: Max character count for Set Lesson Title modal #151

@jfdoming

Description

@jfdoming

Summary

Add a max character count validation to the "set lesson title" modal.

Goals

  • Validate the text field in the modal and prevent users from typing or submitting if they exceed the max character count (100).
  • Display counter with # of characters left beneath the text field.

Implementation

Figma: https://www.figma.com/file/Dimm13cjrpYU5LkcrV6VxF/Course-Editor?node-id=703%3A5903

  • You can use onKeyDown and just not update the text field text to stop users entering more text once the text field is full.

Metadata

Metadata

Assignees

No one assigned

    Labels

    low priorityDeprioritized tasks that we will get to if we have time

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions