Enhance TextInput and filtering functionality in ConfirmingPage

- Added support for onChanged event in TextInput to handle real-time text updates.
- Updated ConfirmingPage to utilize onChanged for filter input, improving user interaction.
- Refactored wildcard matching function in PatchVisualizer to support case-insensitive substring matching, enhancing filtering capabilities.
This commit is contained in:
Joe 2026-02-02 17:51:52 -06:00
parent c092bb975c
commit e124d8a227
3 changed files with 24 additions and 14 deletions

View file

@ -142,12 +142,12 @@ function ConfirmingPage:render()
FilterInput = e(TextInput, {
text = self.state.filterText,
placeholder = "Filter (* = wildcard)",
placeholder = "Filter",
enabled = true,
transparency = self.props.transparency,
size = UDim2.new(0.5, -5, 1, 0),
position = UDim2.new(0.5, 5, 0, 0),
onEntered = function(text)
onChanged = function(text)
self:setState({ filterText = text })
end,
}),