Skip to content

Commit

Permalink
fix(TextField): adjust character count threshold to zero
Browse files Browse the repository at this point in the history
  • Loading branch information
rmartins90 committed Jan 28, 2025
1 parent 89ddb9a commit 9754d6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/base-field/base-field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import type { WithEnhancedClassName } from '../utils/common-types'
import { Spinner } from '../spinner'
import { Column, Columns } from '../columns'

const MAX_LENGTH_THRESHOLD = 10
// Define the remaining characters before the character count turns red
const MAX_LENGTH_THRESHOLD = 0

type FieldTone = 'neutral' | 'success' | 'error' | 'loading'

Expand Down

0 comments on commit 9754d6a

Please sign in to comment.