A text input component that properly handles keyboard events without interfering with the scene editor. Supports both string values (like hex colors, dash patterns) and numeric values with validation.
Props
Name | Type | Default value | Required? | Description |
---|---|---|---|---|
modelValue |
Number|String | - | Yes | The current value. |
inputClass |
String | '' |
No | CSS class for the input element. |
min |
Number | null |
No | The minimum value (for numeric inputs). |
max |
Number | null |
No | The maximum value (for numeric inputs). |
step |
Number | null |
No | The step size for rounding (for numeric inputs). |
isNumeric |
Boolean | true |
No | Whether to apply numeric validation and constraints. |